第一次提交
This commit is contained in:
15
lib/models/class_destination_item.dart
Normal file
15
lib/models/class_destination_item.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class DestinationItem {
|
||||
final String label;
|
||||
final IconData icon;
|
||||
final Widget child;
|
||||
final String? title; // 可选标题
|
||||
|
||||
const DestinationItem({
|
||||
required this.label,
|
||||
required this.icon,
|
||||
required this.child,
|
||||
this.title,
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user