kTextFieldDecoration top-level property
Implementation
final kTextFieldDecoration = InputDecoration(
floatingLabelBehavior: FloatingLabelBehavior.auto,
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white70),
),
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white70),
),
border: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white70),
),
labelStyle: TextStyle(
color: Colors.white,
fontSize: ScreenUtil().setSp(12),
),
hintStyle: TextStyle(
color: Colors.white,
fontSize: ScreenUtil().setSp(12),
),
);