opt: enum (#824)

* opt: enum

* opt: member page type
This commit is contained in:
My-Responsitories
2025-05-06 00:18:30 +08:00
committed by GitHub
parent 1da30d5d8f
commit a915650bb6
24 changed files with 211 additions and 291 deletions

View File

@@ -1,5 +1,30 @@
import 'package:flutter/material.dart';
// enum NavigationBarType {
// home(
// '首页',
// Icon(Icons.home_outlined, size: 23),
// Icon(Icons.home, size: 21),
// ),
// dynamics(
// '动态',
// Icon(Icons.motion_photos_on_outlined, size: 21),
// Icon(Icons.motion_photos_on, size: 21),
// ),
// media(
// '媒体库',
// Icon(Icons.video_collection_outlined, size: 21),
// Icon(Icons.video_collection, size: 21),
// );
// final Icon icon;
// final Icon selectIcon;
// final String label;
// const NavigationBarType(this.label, this.icon, this.selectIcon);
// }
// TODO enum
List defaultNavigationBars = [
{
'id': 0,