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