decorationTextInput method
Implementation
InputDecoration decorationTextInput({
dynamic text,
Color colorForeground = Colors.white,
}) {
final border = OutlineInputBorder(
borderSide: BorderSide(
color: colorForeground,
width: 1.0,
style: BorderStyle.solid
));
return InputDecoration(
hintStyle: TextStyle(color: colorForeground),
focusColor: colorForeground,
labelStyle: TextStyle(color: colorForeground),
helperStyle: TextStyle(color: colorForeground),
focusedBorder: border,
enabledBorder: border,
labelText: translate(text: text)
);
}