mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Moves modal close button to left. (#55)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user