56 lines
1.6 KiB
Dart
56 lines
1.6 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:rasadyar_core/core.dart';
|
|
import 'package:rasadyar_core/data/utils.dart';
|
|
|
|
import 'logic.dart';
|
|
|
|
class RootPage extends GetView<RootLogic> {
|
|
const RootPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: Stack(
|
|
children: [
|
|
|
|
Align(
|
|
alignment: Alignment.bottomCenter,
|
|
child: WaveBottomNavigation(
|
|
items: [
|
|
WaveBottomNavigationItem(
|
|
title: 'خانه',
|
|
icon:Assets.vecMapSvg,
|
|
),
|
|
WaveBottomNavigationItem(
|
|
title: 'عملیات',
|
|
icon:Assets.vecUserSvg,
|
|
),
|
|
WaveBottomNavigationItem(
|
|
title: 'افزودن',
|
|
icon:Assets.vecAddSvg,
|
|
),
|
|
WaveBottomNavigationItem(
|
|
title: 'آمار',
|
|
icon:Assets.vecDiagramSvg,
|
|
), WaveBottomNavigationItem(
|
|
title: 'تماس',
|
|
icon:Assets.vecCallSvg,
|
|
), WaveBottomNavigationItem(
|
|
title: 'مکان ',
|
|
icon:Assets.vecGpsSvg,
|
|
), WaveBottomNavigationItem(
|
|
title: 'تاریخ',
|
|
icon:Assets.vecCalendarSvg,
|
|
),
|
|
],
|
|
onPageChanged: (index) {
|
|
controller.changePage(index);
|
|
},
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|