show static method

Future<void> show(
  1. BuildContext context
)

Implementation

static Future<void> show(BuildContext context) async {
  await showModalBottomSheet(
    context: context,
    showDragHandle: true,
    isScrollControlled: true,
    shape: const RoundedRectangleBorder(
      borderRadius: BorderRadius.vertical(top: Radius.circular(24)),
    ),
    builder: (_) => const FractionallySizedBox(
      heightFactor: 0.9,
      child: Padding(
        padding: EdgeInsets.all(16),
        child: SearchableLanguagePicker(),
      ),
    ),
  );
}