26 lines
611 B
Dart
26 lines
611 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/utils.dart';
|
|
|
|
abstract class AppNavigation {
|
|
static List<AppNavigationDestination> destinations = [
|
|
AppNavigationDestination(
|
|
icon: const Icon(Icons.home),
|
|
label: 'home'.tr,
|
|
page: 'home',
|
|
),
|
|
AppNavigationDestination(
|
|
icon: const Icon(Icons.account_circle),
|
|
label: 'account'.tr,
|
|
page: 'account',
|
|
),
|
|
];
|
|
}
|
|
|
|
class AppNavigationDestination {
|
|
final Widget icon;
|
|
final String label;
|
|
final String page;
|
|
|
|
AppNavigationDestination({required this.icon, required this.label, required this.page});
|
|
}
|