mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-18 20:53:45 +02:00
fix: style label for duration inputfield to use hintstyle
This commit is contained in:
parent
8752e2f6cc
commit
efa08cb0b2
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ class DurationInputField extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
var theme = Theme.of(context);
|
||||
var availabilityScope = AvailabilityScope.of(context);
|
||||
var options = availabilityScope.options;
|
||||
var translations = options.translations;
|
||||
|
@ -87,6 +88,7 @@ class DurationInputField extends StatelessWidget {
|
|||
return TextFormField(
|
||||
decoration: InputDecoration(
|
||||
labelText: translations.time,
|
||||
labelStyle: theme.inputDecorationTheme.hintStyle,
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue