size updates

This commit is contained in:
commitimpush 2022-11-15 11:00:34 +01:00
parent f585e57fe2
commit 818b22253c

View file

@ -220,9 +220,9 @@ class _DateTimePickerState extends State<DateTimePicker> {
child: DraggableScrollableSheet( child: DraggableScrollableSheet(
controller: _dragController, controller: _dragController,
snap: true, snap: true,
minChildSize: 0.2, minChildSize: 0.25,
initialChildSize: 0.2, initialChildSize: 0.25,
maxChildSize: 0.6, maxChildSize: 0.7,
builder: (context, scrollController) { builder: (context, scrollController) {
double dragSize = double dragSize =
_dragController.isAttached ? _dragController.size : 0; _dragController.isAttached ? _dragController.size : 0;