Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
modal_bottom_sheet
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Zagidin Selimov
2022-07-26 22:06:53 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
918af9da6abbb9d3154a77301b435ca924d5c70c
918af9da
1 parent
3cb49940
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
lib/src/bottom_sheets/bar_bottom_sheet.dart
lib/src/bottom_sheets/bar_bottom_sheet.dart
View file @
918af9d
...
...
@@ -12,6 +12,7 @@ class BarBottomSheet extends StatelessWidget {
final
Widget
child
;
final
Widget
?
control
;
final
Clip
?
clipBehavior
;
final
Color
?
backgroundColor
;
final
double
?
elevation
;
final
ShapeBorder
?
shape
;
final
SystemUiOverlayStyle
?
overlayStyle
;
...
...
@@ -22,6 +23,7 @@ class BarBottomSheet extends StatelessWidget {
this
.
control
,
this
.
clipBehavior
,
this
.
shape
,
this
.
backgroundColor
,
this
.
elevation
,
this
.
overlayStyle
,
})
:
super
(
key:
key
);
...
...
@@ -59,6 +61,7 @@ class BarBottomSheet extends StatelessWidget {
topRight:
_default_bar_top_radius
),
),
clipBehavior:
clipBehavior
??
Clip
.
hardEdge
,
color:
backgroundColor
??
Colors
.
white
,
elevation:
elevation
??
2
,
child:
SizedBox
(
width:
double
.
infinity
,
...
...
@@ -105,6 +108,7 @@ Future<T?> showBarModalBottomSheet<T>({
control:
topControl
,
clipBehavior:
clipBehavior
,
shape:
shape
,
backgroundColor:
backgroundColor
,
elevation:
elevation
,
overlayStyle:
overlayStyle
,
),
...
...
Please
register
or
login
to post a comment