build method
Builds the UI for the BottomSheetBase.
Returns a Widget that displays the styled bottom sheet content.
Implementation
@override
Widget build(BuildContext context) {
return Wrap(
children: [
Container(
width: double.infinity,
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 24),
decoration: const BoxDecoration(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(20), topRight: Radius.circular(20)),
color: Colors.white),
child: child,
),
],
);
}