vistas de ciudadano, escalar animaciones de mascota, implementacion de chatbot para concientizacion, modificacion de datos de ciudadano, modificacion de vista principal
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import '../../core/widgets/app_widgets.dart';
|
||||
import '../../shared/widgets/eco_floating_button.dart';
|
||||
|
||||
class CitizenShell extends StatelessWidget {
|
||||
const CitizenShell({super.key, required this.child});
|
||||
@@ -32,6 +33,7 @@ class CitizenShell extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
body: child,
|
||||
floatingActionButton: const EcoFloatingButton(),
|
||||
bottomNavigationBar: AppBottomNav(
|
||||
currentIndex: _currentIndex(context),
|
||||
onTap: (i) => _onTap(context, i),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../../core/widgets/app_widgets.dart';
|
||||
import '../eta/eta_screen.dart';
|
||||
import 'citizen_home_screen.dart';
|
||||
import '../alerts/alerts_screen.dart';
|
||||
import 'house_screen.dart';
|
||||
import '../profile/profile_screen.dart';
|
||||
@@ -16,7 +16,7 @@ class _MainShellState extends State<MainShell> {
|
||||
int _currentIndex = 0;
|
||||
|
||||
static const List<Widget> _screens = [
|
||||
EtaScreen(),
|
||||
CitizenHomeScreen(),
|
||||
AlertsScreen(),
|
||||
MyHouseScreen(),
|
||||
ProfileScreen(),
|
||||
|
||||
Reference in New Issue
Block a user