Skip to content

Commit ebf67dd

Browse files
committed
Tambahkan fungsi arrow back menu di UI Detail Meal
1 parent 516425f commit ebf67dd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/src/ui/detailmeals/detail_meals_screen.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ class _DetailMealsScreenState extends State<DetailMealsScreen> {
2424
child: Stack(
2525
children: <Widget>[
2626
_buildWidgetImageHeader(mediaQuery),
27+
SafeArea(
28+
child: Padding(
29+
padding: const EdgeInsets.only(left: 16.0, top: 16.0),
30+
child: GestureDetector(
31+
onTap: () {
32+
Navigator.pop(context);
33+
},
34+
child: CircleAvatar(
35+
child: Icon(Icons.arrow_back, color: Colors.black87),
36+
backgroundColor: Colors.white,
37+
),
38+
),
39+
),
40+
),
2741
_buildWidgetDetailMeal(mediaQuery, context),
2842
],
2943
),

0 commit comments

Comments
 (0)