show method

  1. @override
Future<IsoCode?> show(
  1. BuildContext context
)
override

Implementation

@override
Future<IsoCode?> show(
  BuildContext context,
) {
  return showModalBottomSheet<IsoCode>(
    context: context,
    builder: (_) => SizedBox(
      height: height ?? MediaQuery.of(context).size.height - 90,
      child: _getCountrySelectorSheet(
        inputContext: context,
        onCountrySelected: (country) => Navigator.pop(context, country),
      ),
    ),
    isScrollControlled: true,
  );
}