show static method

Future<void> show(
  1. BuildContext context,
  2. NmSubscribeSheet sheet
)

Opens the flow as a modal bottom sheet (93 % of the screen height).

Implementation

static Future<void> show(BuildContext context, NmSubscribeSheet sheet) => showModalBottomSheet<void>(
  context: context,
  isScrollControlled: true,
  useSafeArea: true,
  builder: (context) => FractionallySizedBox(heightFactor: .93, child: sheet),
);