Solian/lib/widgets/navigation/app_navigation.dart

32 lines
751 B
Dart
Raw Normal View History

2024-05-18 10:17:16 +00:00
import 'package:flutter/material.dart';
import 'package:get/utils.dart';
abstract class AppNavigation {
static List<AppNavigationDestination> destinations = [
AppNavigationDestination(
2024-05-23 12:00:26 +00:00
icon: const Icon(Icons.public),
label: 'social'.tr,
page: 'social',
2024-05-18 10:17:16 +00:00
),
2024-05-23 13:12:47 +00:00
AppNavigationDestination(
icon: const Icon(Icons.contacts),
label: 'contact'.tr,
page: 'contact',
),
2024-05-18 10:17:16 +00:00
AppNavigationDestination(
icon: const Icon(Icons.account_circle),
label: 'account'.tr,
page: 'account',
),
];
}
class AppNavigationDestination {
final Widget icon;
final String label;
final String page;
2024-05-23 12:00:26 +00:00
AppNavigationDestination(
{required this.icon, required this.label, required this.page});
2024-05-18 10:17:16 +00:00
}