showSecuritySheet function
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),
),
);
}