feat :
bottom sheet markerDetails
This commit is contained in:
@@ -11,11 +11,13 @@ class DraggableBottomSheet extends StatelessWidget {
|
||||
final double minHeight;
|
||||
final double maxHeight;
|
||||
final Widget? child;
|
||||
final Color? backgroundColor;
|
||||
|
||||
const DraggableBottomSheet({
|
||||
super.key,
|
||||
this.controller,
|
||||
this.isVisible = false,
|
||||
this.backgroundColor = Colors.white,
|
||||
this.initialHeight = 200,
|
||||
this.minHeight = 0,
|
||||
this.maxHeight = 700,
|
||||
@@ -56,8 +58,8 @@ class DraggableBottomSheet extends StatelessWidget {
|
||||
},
|
||||
child: Container(
|
||||
height: data.value,
|
||||
decoration: const BoxDecoration(
|
||||
color: Colors.white,
|
||||
decoration: BoxDecoration(
|
||||
color: backgroundColor,
|
||||
borderRadius: BorderRadius.vertical(top: Radius.circular(50)),
|
||||
),
|
||||
child: Column(
|
||||
|
||||
Reference in New Issue
Block a user