mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 03:31:09 +08:00
audio sschedule shutdown
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
15
lib/common/widgets/time_picker.dart
Normal file
15
lib/common/widgets/time_picker.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:flutter/material.dart' as material;
|
||||
|
||||
Future<material.TimeOfDay?> showTimePicker({
|
||||
required material.BuildContext context,
|
||||
required material.TimeOfDay initialTime,
|
||||
}) => material.showTimePicker(
|
||||
context: context,
|
||||
initialTime: initialTime,
|
||||
builder: (context, child) => material.DialogTheme(
|
||||
data: material.DialogTheme.of(
|
||||
context,
|
||||
).copyWith(constraints: const material.BoxConstraints(minWidth: 280)),
|
||||
child: child,
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user