Moves modal close button to left. (#55)

pull/57/head
Andrew Brogdon 6 years ago committed by GitHub
parent 0431592bd6
commit d123c32f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -82,8 +82,8 @@ class DetailsScreen extends StatelessWidget {
), ),
), ),
Positioned( Positioned(
top: 0.0, top: 16.0,
right: 16.0, left: 16.0,
child: SafeArea( child: SafeArea(
child: CloseButton(() { child: CloseButton(() {
Navigator.of(context).pop(); Navigator.of(context).pop();

@ -8,7 +8,7 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/widgets.dart'; import 'package:flutter/widgets.dart';
import 'package:veggieseasons/styles.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 { class FrostedBox extends StatelessWidget {
const FrostedBox({ const FrostedBox({
this.child, this.child,

Loading…
Cancel
Save