add padding to align with app

This commit is contained in:
2024-07-30 11:31:58 +02:00
parent 931968cb61
commit a4da309164
2 changed files with 5 additions and 3 deletions

View File

@@ -102,7 +102,6 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
Widget build(BuildContext context) {
return Column(
children: [
const SizedBox(height: 15.0),
const Text(
"Update User profile:",
style: TextStyle(

View File

@@ -39,8 +39,11 @@ class _ProfileUpdateState extends State<ProfileUpdate> {
Widget build(BuildContext context) {
return Scaffold(
appBar: const MyAppBar(barTitle: "Update Profile"),
body: Center(
child: _widgetOptions.elementAt(0),
body: Padding(
padding: const EdgeInsets.all(15.0),
child: Center(
child: _widgetOptions.elementAt(0),
),
),
// bottomNavigationBar: GNav(
// //hoverColor: Colors.lightBlueAccent,