show method

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

Implementation

@override
Future<IsoCode?> show(BuildContext context) {
  return showDialog(
    context: context,
    builder: (_) => Dialog(
      child: SizedBox(
        width: width,
        height: height,
        child: _getCountrySelectorSheet(
          inputContext: context,
          onCountrySelected: (country) =>
              Navigator.of(context, rootNavigator: true).pop(country),
        ),
      ),
    ),
  );
}