show static method

void show(
  1. BuildContext context, {
  2. String? title,
  3. TextStyle? titleStyle,
  4. TextStyle? optionStyle,
})

Show selector as bottom sheet

Implementation

static void show(
  BuildContext context, {
  String? title,
  TextStyle? titleStyle,
  TextStyle? optionStyle,
}) {
  showModalBottomSheet(
    context: context,
    backgroundColor: Colors.transparent,
    builder: (context) => CyberLanguageSelector(
      title: title,
      titleStyle: titleStyle,
      optionStyle: optionStyle,
    ),
  );
}