TextFieldTheme constructor

const TextFieldTheme({
  1. List<BoxShadow> shadow = const [BoxShadow(blurRadius: 2.0, color: Color.fromRGBO(0, 0, 0, 0.2), offset: Offset(0.0, 1.0))],
  2. Radius borderRadius = const Radius.circular(3.0),
  3. Color color = const Color.fromARGB(255, 41, 45, 53),
  4. Color borderColor = const Color.fromRGBO(255, 255, 255, 0.05),
  5. double borderWidth = 1.0,
  6. TextStyle textStyle = const TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0), fontSize: 13.0),
  7. TextStyle suffixStyle = const TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0), fontSize: 13.0),
  8. Color cursorColor = const Color.fromRGBO(4, 180, 255, 1.0),
  9. Color selectionColor = const Color.fromRGBO(4, 180, 255, 0.67),
  10. 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),
});