mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-18 20:53:45 +02:00
fix: use proper flex ratio for determining the width of the time break duration input
This commit is contained in:
parent
96c16c09ba
commit
c004417b36
1 changed files with 7 additions and 3 deletions
|
@ -328,15 +328,19 @@ class _AvailabilityBreakSelectionDialogState
|
|||
const SizedBox(height: 16),
|
||||
Row(
|
||||
children: [
|
||||
const Spacer(),
|
||||
const Spacer(
|
||||
flex: 3,
|
||||
),
|
||||
Expanded(
|
||||
flex: 2,
|
||||
flex: 4,
|
||||
child: DurationInputField(
|
||||
initialValue: _breakViewModel.submittedDuration,
|
||||
onDurationChanged: onUpdateDuration,
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
const Spacer(
|
||||
flex: 3,
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
|
|
Loading…
Reference in a new issue