ajustes em diversos pontos do app para receber o username, e ajustar para exibir apenas as telas que realmente será utilizado no app.

This commit is contained in:
Reginaldo
2024-02-01 17:01:08 -03:00
parent cfdfb316f8
commit 2450a76f4b
31 changed files with 227 additions and 223 deletions

View File

@@ -8,7 +8,7 @@ import 'icon_button_default.dart';
class AppBarDefault{
@override
PreferredSize appbar(BuildContext context,String title) {
PreferredSize appbar(BuildContext context,String title, String username) {
return PreferredSize(
preferredSize: Size.fromHeight(50),
child: AppBar(
@@ -19,7 +19,7 @@ class AppBarDefault{
IconButtonDefault(
icon: Icons.settings,
color: ColorPalette.white,
onPressed: ()=>AlertDialogSettings().alert(context)
onPressed: ()=>AlertDialogSettings().alert(context,username)
),
IconButtonDefault(
icon: Icons.logout,