CAKE-198 | changed hint text from "Note" to "Enter your note..."; changed color of the hint text in textfield_list_row

This commit is contained in:
Oleksandr Sobol
2020-12-23 19:14:11 +02:00
parent cf5f212f33
commit d7cc595179
14 changed files with 40 additions and 44 deletions
@@ -41,8 +41,8 @@ class TextFieldListRow extends StatelessWidget {
style: TextStyle(
fontSize: titleFontSize,
fontWeight: FontWeight.w500,
color:
Theme.of(context).primaryTextTheme.overline.color),
color: Theme.of(context)
.primaryTextTheme.overline.color),
textAlign: TextAlign.left),
TextField(
controller: _textController,
@@ -54,20 +54,16 @@ class TextFieldListRow extends StatelessWidget {
fontSize: valueFontSize,
fontWeight: FontWeight.w500,
color: Theme.of(context)
.primaryTextTheme
.title
.color),
.primaryTextTheme.title.color),
decoration: InputDecoration(
isDense: true,
contentPadding: EdgeInsets.only(top: 12, bottom: 0),
hintText: S.of(context).note,
hintText: S.of(context).enter_your_note,
hintStyle: TextStyle(
fontSize: valueFontSize,
fontWeight: FontWeight.w500,
color: Theme.of(context)
.primaryTextTheme
.title
.color),
.primaryTextTheme.overline.color),
border: InputBorder.none
),
onSubmitted: (value) => onSubmitted.call(value),