You can edit 8 Components for free. Get premium for unlimited access.
A bottom sheet component for Flutter.
The BottomSheet component is used to integrate even more information and features. It overlays the original screen.
This component inherits props from the Bottom Sheet.
-
-
-
-
-
-
-
-
-
You can edit the type with the default, singleButton or doubleButton parameter.

Image 1.1 : Type default

Image 1.2 : Type singleButton

Image 1.3 : Type doubleButton
The BottomSheet component is used to integrate even more information and features. It overlays the original screen.
This component inherits props from the Bottom Sheet.
-
-
-
-
-
-
-
-
-
You can edit the type with the .normal, .singleButton or .doubleButton parameter.
Preview
Code
showModalBottomSheet<void>(
context: context,
isDismissible: true,
enableDrag: true,
isScrollControlled: true,
backgroundColor: Colors.transparent,
builder: (sheetContext) {
return DlBottomSheet(
headerTitle: 'title',
contentTitle: 'Headline',
contentDescription: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.',
contentMedia: Center(
child: SizedBox(
width: 120,
height: 120,
child: Image.asset(
'assets/images/badge_photo.png',
fit: BoxFit.cover,
),
),
),
);
},
);Add this code example to your project to see how the component works.
showModalBottomSheet<void>(
context: context,
isDismissible: true,
enableDrag: true,
isScrollControlled: true,
backgroundColor: Colors.transparent,
builder: (sheetContext) {
return DlBottomSheet(
headerTitle: 'title',
contentTitle: 'Headline',
contentDescription: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.',
contentMedia: Center(
child: SizedBox(
width: 120,
height: 120,
child: Image.asset(
'assets/images/badge_photo.png',
fit: BoxFit.cover,
),
),
),
buttons: [
DlButton(
label: 'Button',
type: DlButtonType.primary,
fullWidth: true,
),
],
);
},
);DlBottomSheet is a configurable modal sheet component with a centered header, optional content text blocks, optional media area and selectable action layouts.
Without label
Preview
Code
showModalBottomSheet<void>(
context: context,
isDismissible: true,
enableDrag: true,
isScrollControlled: true,
backgroundColor: Colors.transparent,
builder: (sheetContext) {
return DlBottomSheet(
headerTitle: 'title',
contentTitle: 'Headline',
contentDescription: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr.',
contentMedia: Center(
child: SizedBox(
width: 120,
height: 120,
child: Image.asset(
'assets/images/badge_photo.png',
fit: BoxFit.cover,
),
),
),
buttons: [
DlButton(
label: 'Button',
type: DlButtonType.primary,
fullWidth: true,
),
],
);
},
);You have questions or need help?
You want to try?
Save time and money?