add padding to align with app
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user