mirror of
https://github.com/Iconica-Development/flutter_date_time_picker.git
synced 2025-05-18 18:33:49 +02:00
Merge pull request #4 from Iconica-Development/bugfix/size-fixes
size updates
This commit is contained in:
commit
a407f8dcbd
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue