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:
@@ -5,7 +5,9 @@ import 'package:rkm/widgets/text_default.dart';
|
||||
import '../widgets/appbar_default.dart';
|
||||
|
||||
class AttendanceListScreen extends StatefulWidget {
|
||||
const AttendanceListScreen({Key? key}) : super(key: key);
|
||||
String username;
|
||||
|
||||
AttendanceListScreen({required this.username});
|
||||
|
||||
@override
|
||||
State<AttendanceListScreen> createState() => _AttendanceListScreenState();
|
||||
@@ -15,7 +17,7 @@ class _AttendanceListScreenState extends State<AttendanceListScreen> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Lista Atendimentos'),
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Lista Atendimentos',widget.username),
|
||||
body: Container(
|
||||
decoration: ConstVariable().backgroundGradient,
|
||||
width: double.infinity,
|
||||
|
||||
Reference in New Issue
Block a user