remove test action button
This commit is contained in:
@@ -40,32 +40,6 @@ class _HomeState extends State<Home> {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: const MyAppBar(barTitle: "Mzansi Innovation Hub"),
|
appBar: const MyAppBar(barTitle: "Mzansi Innovation Hub"),
|
||||||
drawer: HomeAppDrawer(userEmail: useremail),
|
drawer: HomeAppDrawer(userEmail: useremail),
|
||||||
floatingActionButton: FloatingActionButton.extended(
|
|
||||||
label: const Text(
|
|
||||||
"Test Allert",
|
|
||||||
style: TextStyle(
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
color: Colors.white,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
backgroundColor: Colors.blueAccent,
|
|
||||||
onPressed: () {
|
|
||||||
// Navigator.of(context)
|
|
||||||
// .pushNamed('/patient-manager/add', arguments: widget.userEmail);
|
|
||||||
showDialog(
|
|
||||||
context: context,
|
|
||||||
builder: (context) => const MySuccessMessage(
|
|
||||||
successType: "Success",
|
|
||||||
successMessage:
|
|
||||||
"This is the message when something successful happened.",
|
|
||||||
),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
icon: const Icon(
|
|
||||||
Icons.warning_amber_rounded,
|
|
||||||
color: Colors.white,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
body: HomeTileGrid(
|
body: HomeTileGrid(
|
||||||
userEmail: useremail,
|
userEmail: useremail,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user