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:
@@ -12,7 +12,9 @@ import '../widgets/subtitle_containers.dart';
|
||||
import '../widgets/title_containers.dart';
|
||||
|
||||
class EditProceduresScreen extends StatefulWidget {
|
||||
const EditProceduresScreen({Key? key}) : super(key: key);
|
||||
String username;
|
||||
|
||||
EditProceduresScreen({required this.username});
|
||||
|
||||
@override
|
||||
State<EditProceduresScreen> createState() => _EditProceduresScreenState();
|
||||
@@ -53,9 +55,9 @@ class _EditProceduresScreenState extends State<EditProceduresScreen> {
|
||||
double height = MediaQuery.of(context).size.height;
|
||||
|
||||
return WillPopScope(
|
||||
onWillPop: ()async => await OnBackButton().onBackButton(context),
|
||||
onWillPop: ()async => await OnBackButton().onBackButton(context, widget.username),
|
||||
child: Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Procedimentos Consolidados'),
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Procedimentos Consolidados',widget.username),
|
||||
body: Container(
|
||||
decoration: ConstVariable().backgroundGradient,
|
||||
width: width,
|
||||
|
||||
Reference in New Issue
Block a user