forked from firka/student-legacy
have no idea what i've done, but it works
This commit is contained in:
parent
ed556d2bd4
commit
c012cdff64
@ -1,4 +1,3 @@
|
|||||||
import 'package:flutter/widgets.dart';
|
|
||||||
import 'package:refilc/theme/colors/colors.dart';
|
import 'package:refilc/theme/colors/colors.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
@ -7,7 +6,7 @@ class RoundedBottomSheet extends StatelessWidget {
|
|||||||
super.key,
|
super.key,
|
||||||
this.child,
|
this.child,
|
||||||
this.borderRadius = 16.0,
|
this.borderRadius = 16.0,
|
||||||
this.shrink = false,
|
this.shrink = true,
|
||||||
this.showHandle = true,
|
this.showHandle = true,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -61,6 +60,7 @@ Future<T?> showRoundedModalBottomSheet<T>(
|
|||||||
elevation: 0,
|
elevation: 0,
|
||||||
isDismissible: true,
|
isDismissible: true,
|
||||||
useRootNavigator: rootNavigator,
|
useRootNavigator: rootNavigator,
|
||||||
|
isScrollControlled: true,
|
||||||
builder: (context) => RoundedBottomSheet(
|
builder: (context) => RoundedBottomSheet(
|
||||||
showHandle: showHandle,
|
showHandle: showHandle,
|
||||||
child: child,
|
child: child,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user