TextFieldTheme constructor
const
TextFieldTheme({
- List<
BoxShadow> shadow = const [BoxShadow(blurRadius: 2.0, color: Color.fromRGBO(0, 0, 0, 0.2), offset: Offset(0.0, 1.0))], - Radius borderRadius = const Radius.circular(3.0),
- Color color = const Color.fromARGB(255, 41, 45, 53),
- Color borderColor = const Color.fromRGBO(255, 255, 255, 0.05),
- double borderWidth = 1.0,
- TextStyle textStyle = const TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0), fontSize: 13.0),
- TextStyle suffixStyle = const TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0), fontSize: 13.0),
- Color cursorColor = const Color.fromRGBO(4, 180, 255, 1.0),
- Color selectionColor = const Color.fromRGBO(4, 180, 255, 0.67),
- EdgeInsetsGeometry contentPadding = const EdgeInsets.all(8.0),
Implementation
const TextFieldTheme({
this.shadow = const [
BoxShadow(
blurRadius: 2.0,
color: Color.fromRGBO(0, 0, 0, 0.2),
offset: Offset(0.0, 1.0),
),
],
this.borderRadius = const Radius.circular(3.0),
this.color = const Color.fromARGB(255, 41, 45, 53),
this.borderColor = const Color.fromRGBO(255, 255, 255, 0.05),
this.borderWidth = 1.0,
this.textStyle = const TextStyle(
color: Color.fromRGBO(255, 255, 255, 1.0),
fontSize: 13.0,
),
this.suffixStyle = const TextStyle(
color: Color.fromRGBO(255, 255, 255, 1.0),
fontSize: 13.0,
),
this.cursorColor = const Color.fromRGBO(4, 180, 255, 1.0),
this.selectionColor = const Color.fromRGBO(4, 180, 255, 0.67),
this.contentPadding = const EdgeInsets.all(8.0),
});