replace tabs with spaces, refs #9991
This commit is contained in:
@@ -85,12 +85,12 @@ abstract class BaseState<T> extends State<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPaddingForTextWidget() {
|
getPaddingForTextWidget() {
|
||||||
const double verticalPadding = 12.0;
|
const double verticalPadding = 12.0;
|
||||||
const double horizontalPadding = 16.0;
|
const double horizontalPadding = 16.0;
|
||||||
return new EdgeInsets.only(top: verticalPadding,
|
return new EdgeInsets.only(top: verticalPadding,
|
||||||
bottom: verticalPadding,
|
bottom: verticalPadding,
|
||||||
left: horizontalPadding,
|
left: horizontalPadding,
|
||||||
right: horizontalPadding);
|
right: horizontalPadding);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Метод возвращает BoxDecoration для _getDecoratedInputField
|
/// Метод возвращает BoxDecoration для _getDecoratedInputField
|
||||||
@@ -105,8 +105,8 @@ abstract class BaseState<T> extends State<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget getTextWidget() {
|
Widget getTextWidget() {
|
||||||
return new TextField(keyboardType: TextInputType.number,
|
return new TextField(keyboardType: TextInputType.number,
|
||||||
decoration: new InputDecoration.collapsed(hintText: getHint(),
|
decoration: new InputDecoration.collapsed(hintText: getHint(),
|
||||||
hintStyle: new TextStyle(color: greyTextColor, fontSize: 16.0)),
|
hintStyle: new TextStyle(color: greyTextColor, fontSize: 16.0)),
|
||||||
onChanged: (text) => handleUserInput(text));
|
onChanged: (text) => handleUserInput(text));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user