feat : new tagging page
This commit is contained in:
@@ -3,10 +3,11 @@ import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/presentation/common/app_color.dart';
|
||||
|
||||
class BaseBottomSheet extends StatelessWidget {
|
||||
const BaseBottomSheet({super.key, required this.child, this.height});
|
||||
const BaseBottomSheet({super.key, required this.child, this.height, this.bgColor});
|
||||
|
||||
final Widget child;
|
||||
final double? height;
|
||||
final Color? bgColor;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -14,7 +15,7 @@ class BaseBottomSheet extends StatelessWidget {
|
||||
height: height ?? MediaQuery.of(context).size.height * 0.85,
|
||||
padding: EdgeInsets.symmetric(vertical: 15, horizontal: 20),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
color:bgColor?? Colors.white,
|
||||
borderRadius: BorderRadius.only(topLeft: Radius.circular(25), topRight: Radius.circular(25)),
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
|
||||
Reference in New Issue
Block a user