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:
@@ -14,7 +14,8 @@ import '../../widgets/text_default.dart';
|
||||
import '../../widgets/title_containers.dart';
|
||||
|
||||
class MainProceduresScreen extends StatefulWidget {
|
||||
const MainProceduresScreen({Key? key}) : super(key: key);
|
||||
String username;
|
||||
MainProceduresScreen({required this.username});
|
||||
|
||||
@override
|
||||
State<MainProceduresScreen> createState() => _MainProceduresScreenState();
|
||||
@@ -179,7 +180,7 @@ class _MainProceduresScreenState extends State<MainProceduresScreen> {
|
||||
double height = MediaQuery.of(context).size.height;
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Procedimentos Iniciais'),
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Procedimentos Iniciais',widget.username),
|
||||
body: Container(
|
||||
padding: EdgeInsets.all(10),
|
||||
decoration: ConstVariable().backgroundGradient,
|
||||
|
||||
Reference in New Issue
Block a user