bottom sheet markerDetails
This commit is contained in:
2025-04-14 17:31:17 +03:30
parent cf4dfb23ea
commit 1a31d4cdbf
3 changed files with 215 additions and 51 deletions

View File

@@ -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(