2024-11-08 16:09:46 +00:00
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:material_symbols_icons/symbols.dart';
|
|
|
|
|
|
|
|
class AppNavDestination {
|
|
|
|
final String label;
|
|
|
|
final String screen;
|
|
|
|
final Widget icon;
|
|
|
|
|
|
|
|
AppNavDestination({
|
|
|
|
required this.label,
|
|
|
|
required this.screen,
|
|
|
|
required this.icon,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
List<AppNavDestination> appDestinations = [
|
|
|
|
AppNavDestination(
|
2024-11-09 13:47:40 +00:00
|
|
|
icon: Icon(Symbols.home, weight: 400, opticalSize: 20),
|
2024-11-08 16:09:46 +00:00
|
|
|
screen: 'home',
|
|
|
|
label: tr('screenHome'),
|
|
|
|
),
|
|
|
|
AppNavDestination(
|
2024-11-09 13:47:40 +00:00
|
|
|
icon: Icon(Symbols.explore, weight: 400, opticalSize: 20),
|
2024-11-08 16:09:46 +00:00
|
|
|
screen: 'explore',
|
|
|
|
label: tr('screenExplore'),
|
|
|
|
),
|
|
|
|
AppNavDestination(
|
2024-11-09 13:47:40 +00:00
|
|
|
icon: Icon(Symbols.account_circle, weight: 400, opticalSize: 20),
|
2024-11-08 16:09:46 +00:00
|
|
|
screen: 'account',
|
|
|
|
label: tr('screenAccount'),
|
|
|
|
),
|
|
|
|
];
|