reject method
Implementation
reject(
BuildContext context,
Widget widget,
void Function(String)? onTap,
) {
showModalBottomSheet<void>(
enableDrag: false,
context: context,
isScrollControlled: true,
isDismissible: false,
backgroundColor: Colors.transparent,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30.0),
),
builder: (BuildContext context) {
return RejectOrderBottomsheet(
onTap: onTap,
);
},
);
}