showSecuritySheet function

void showSecuritySheet(
  1. BuildContext context, {
  2. required BasicSecurityDelegate delegate,
})

Implementation

void showSecuritySheet(
  BuildContext context, {
  required BasicSecurityDelegate delegate,
}) {
  showBasicModalSheet<void>(
    context: context,
    enableDrag: false,
    isDismissible: false,
    constraints: const BoxConstraints.expand(
      width: double.infinity,
      height: 340 + 28,
    ),
    builder:
        (context) => BasicSheet(
          type: BasicSheetType.withOutCloseButton,
          child: _SecuritySheet(delegate: delegate),
        ),
  );
}