Поправил отображение ошибки

This commit is contained in:
Ivan Murashov
2017-09-12 14:18:38 +03:00
parent ef7d903144
commit 87b88cb99c
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
return new Container(margin: new EdgeInsets.only(top: horizontalMargin, bottom: horizontalMargin, left: verticalMargin, right: verticalMargin),
child: new Row(crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[new Text(getHintString(), textAlign: TextAlign.left,
style: new TextStyle(fontWeight: FontWeight.w300, color: error == null ? greyTextColor : Resources.getLogo(app), fontSize: 14.0))]));
style: new TextStyle(fontWeight: FontWeight.w300, color: error == null ? greyTextColor : Resources.getPrimaryColor(app), fontSize: 14.0))]));
}
/// Возвращает подсказку, либо ошибку, если введенные в поле ввода данные неверны.