showActionBottomSheet static method

void showActionBottomSheet(
  1. BuildContext context,
  2. Widget content, {
  3. bool isScrollControlled = false,
})

Implementation

static void showActionBottomSheet(BuildContext context, Widget content, {bool isScrollControlled = false}) {
  Get.bottomSheet(
    content,
    isScrollControlled: isScrollControlled,
    backgroundColor: Theme.of(context).canvasColor,
    shape: const RoundedRectangleBorder(
      borderRadius: BorderRadius.only(
        topLeft: Radius.circular(20),
        topRight: Radius.circular(20),
      ),
    ),
    enableDrag: true,
    isDismissible: true,
  );
}