Skip to content

Commit

Permalink
Remove obsolete material widget
Browse files Browse the repository at this point in the history
  • Loading branch information
mxwnk authored and maxlmo committed Sep 20, 2022
1 parent 1f55f2c commit fa6c969
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions frontend-mobile/lib/widgets/coffee_cup_logo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@ class CoffeeCupLogo extends StatelessWidget {
padding: const EdgeInsets.all(20),
child: Hero(
tag: 'coffee-cup',
child: Material(
child: ElevatedButton(
onPressed: onClick,
style: ElevatedButton.styleFrom(
shape: const CircleBorder(),
padding: const EdgeInsets.all(48),
),
child: Image.asset(
'assets/coffee_cup.png',
height: 200,
width: 200,
alignment: const Alignment(100, 20),
),
child: ElevatedButton(
onPressed: onClick,
style: ElevatedButton.styleFrom(
shape: const CircleBorder(),
padding: const EdgeInsets.all(48),
),
child: Image.asset(
'assets/coffee_cup.png',
height: 200,
width: 200,
alignment: const Alignment(100, 20),
),
),
),
Expand Down

0 comments on commit fa6c969

Please sign in to comment.