From d123c32f295f3002a6e73aefce2b569c83ffc74f Mon Sep 17 00:00:00 2001 From: Andrew Brogdon Date: Wed, 13 Mar 2019 13:16:42 -0700 Subject: [PATCH] Moves modal close button to left. (#55) --- veggieseasons/lib/screens/details.dart | 4 ++-- veggieseasons/lib/widgets/close_button.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/veggieseasons/lib/screens/details.dart b/veggieseasons/lib/screens/details.dart index 80740cb64..cfdb4641d 100644 --- a/veggieseasons/lib/screens/details.dart +++ b/veggieseasons/lib/screens/details.dart @@ -82,8 +82,8 @@ class DetailsScreen extends StatelessWidget { ), ), Positioned( - top: 0.0, - right: 16.0, + top: 16.0, + left: 16.0, child: SafeArea( child: CloseButton(() { Navigator.of(context).pop(); diff --git a/veggieseasons/lib/widgets/close_button.dart b/veggieseasons/lib/widgets/close_button.dart index 1f77c6061..fe01fb87a 100644 --- a/veggieseasons/lib/widgets/close_button.dart +++ b/veggieseasons/lib/widgets/close_button.dart @@ -8,7 +8,7 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/widgets.dart'; import 'package:veggieseasons/styles.dart'; -/// Partially overlays and then blurs its child. +/// Partially overlays and then blurs its child's background. class FrostedBox extends StatelessWidget { const FrostedBox({ this.child,