mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
22 lines
332 B
Dart
22 lines
332 B
Dart
|
|
|
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
class HomeItemModel {
|
|
final String? title;
|
|
final String? icon;
|
|
final Color? color;
|
|
final bool? active;
|
|
final void Function(BuildContext context) onPress;
|
|
|
|
|
|
HomeItemModel({
|
|
this.title,
|
|
this.icon,
|
|
this.color,
|
|
this.active,
|
|
required this.onPress,
|
|
});
|
|
} |