Merge pull request #4 from Iconica-Development/bugfix/size-fixes

size updates
This commit is contained in:
commitimpush 2022-11-15 11:02:10 +01:00 committed by GitHub
commit a407f8dcbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;