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:
@@ -4,7 +4,10 @@ import '../../widgets/appbar_default.dart';
|
||||
import '../../widgets/screen_dev.dart';
|
||||
|
||||
class ProceduresScreen extends StatefulWidget {
|
||||
const ProceduresScreen({Key? key}) : super(key: key);
|
||||
|
||||
String username;
|
||||
|
||||
ProceduresScreen({required this.username});
|
||||
|
||||
@override
|
||||
State<ProceduresScreen> createState() => _ProceduresScreenState();
|
||||
@@ -14,7 +17,7 @@ class _ProceduresScreenState extends State<ProceduresScreen> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Procedimentos'),
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Procedimentos',widget.username),
|
||||
body: ScreenDev(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user