show static method
Implementation
static Future<TimeOfDay?> show(
BuildContext context, {
TimeOfDay? initialTime,
String? helpText,
}) {
return showModalBottomSheet<TimeOfDay>(
context: context,
backgroundColor: Colors.transparent,
barrierColor: context.colors.textPrimary.withValues(alpha: .32),
builder: (context) => _TimePickerSheet(
initialTime: initialTime ?? TimeOfDay.now(),
title: helpText ?? 'Choose time',
),
);
}