Skip to content

Commit

Permalink
<fix>(fga-eps-mds/2024.2-ARANDU-DOC#59):Ajuste de cores
Browse files Browse the repository at this point in the history
  • Loading branch information
zDrNz committed Dec 19, 2024
1 parent 3299d9d commit f8fd866
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions lib/ui/edit_profile/view/EditProfileView.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
final viewModel = Provider.of<EditProfileViewModel>(context);
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.transparent,
backgroundColor: Theme.of(context).colorScheme.surface,
elevation: 0,
title: Center(
child: Text(
'Editar perfil',
style: TextStyle(
color: Colors.black,
color: Theme.of(context).colorScheme.onSurface,
fontSize: 24,
),
),
),
actions: [
IconButton(
color: Colors.black,
color: Theme.of(context).colorScheme.primary,
icon: Icon(Icons.notifications),
onPressed: () {},
),
],
leading: IconButton(
color: Colors.black,
color: Theme.of(context).colorScheme.primary,
icon: Icon(Icons.arrow_back),
onPressed: () {},
),
Expand All @@ -64,7 +64,10 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
_icon(context),
Padding(
padding: const EdgeInsets.only(top: 6.0), // Move para cima
child: _icon(context),
),
SizedBox(height: isSmallScreen ? 30 : 50),
_buildForm(viewModel, isSmallScreen),
],
Expand Down Expand Up @@ -96,7 +99,7 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
padding: const EdgeInsets.symmetric(vertical: 16),
controller: viewModel.passwordController,
),
SizedBox(height: isSmallScreen ? 40 : 56),
SizedBox(height: isSmallScreen ? 100 : 56),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Expand Down Expand Up @@ -157,7 +160,7 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
children: [
CircleAvatar(
radius: 30,
backgroundColor: Colors.grey,
backgroundColor: Theme.of(context).colorScheme.onSurface,
),
SizedBox(width: 16),
Column(
Expand All @@ -174,7 +177,7 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
"Estudante",
style: TextStyle(
fontSize: 14,
color: Colors.grey,
color: Theme.of(context).colorScheme.onSurface,
),
),
],
Expand Down

0 comments on commit f8fd866

Please sign in to comment.