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) { Widget build(BuildContext context) {
return Column( return Column(
children: [ children: [
const SizedBox(height: 15.0),
const Text( const Text(
"Update User profile:", "Update User profile:",
style: TextStyle( style: TextStyle(

View File

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