AppUser object created. Add patient page with API call added nd completed

This commit is contained in:
2024-06-19 13:35:50 +02:00
parent a478324698
commit deda00c955
17 changed files with 324 additions and 57 deletions

View File

@@ -8,23 +8,22 @@ class MyButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: onTap,
child: Container(
padding: const EdgeInsets.all(25),
margin: const EdgeInsets.symmetric(horizontal: 25),
decoration: BoxDecoration(
color: Colors.blueAccent,
borderRadius: BorderRadius.circular(10),
return Padding(
padding: const EdgeInsets.all(25.0),
child: ElevatedButton(
onPressed: onTap,
style: ElevatedButton.styleFrom(
backgroundColor: Colors.blueAccent,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0),
),
),
child: Center(
child: Text(
buttonText,
style: const TextStyle(
fontWeight: FontWeight.bold,
fontSize: 20,
color: Colors.white,
),
child: Text(
buttonText,
style: const TextStyle(
//fontWeight: FontWeight.bold,
fontSize: 20,
color: Colors.white,
),
),
),