Skip to content

Commit

Permalink
style: corrige alinhamento na página de itens salvos.
Browse files Browse the repository at this point in the history
  • Loading branch information
larissaperinoto committed Jan 16, 2023
1 parent 59b5d4a commit d0179b1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,17 @@ class _FavoritePageState extends State<FavoritesPage> {

@override
Widget build(BuildContext context) {
return ListView(
children: [
ImageCard(dog: dog),
Text(phrase),
],
return Center(
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
ImageCard(dog: dog),
const SizedBox(height: 10),
Text(phrase),
],
),
),
);
}
}

0 comments on commit d0179b1

Please sign in to comment.