show static method

void show(
  1. BuildContext context, {
  2. required List<SecurityManagementAction> actions,
})

Implementation

static void show(
  BuildContext context, {
  required List<SecurityManagementAction> actions,
}) {
  showModalBottomSheet(
    context: context,
    backgroundColor: ColorSchemes.lightColor.background,
    shape: const RoundedRectangleBorder(
      borderRadius: BorderRadius.vertical(top: Radius.circular(16)),
    ),
    builder: (context) => SecurityManagementSheet(actions: actions),
  );
}