BoxTightDecoration constructor

BoxTightDecoration({
  1. TextStyle? textStyle,
  2. ObscureStyle? obscureStyle,
  3. String? errorText,
  4. TextStyle? errorTextStyle,
  5. String? hintText,
  6. TextStyle? hintTextStyle,
  7. double strokeWidth = 1.0,
  8. Radius radius = const Radius.circular(8.0),
  9. Color strokeColor = Colors.cyan,
  10. ColorBuilder? bgColorBuilder,
})

Implementation

BoxTightDecoration({
  TextStyle? textStyle,
  ObscureStyle? obscureStyle,
  String? errorText,
  TextStyle? errorTextStyle,
  String? hintText,
  TextStyle? hintTextStyle,
  this.strokeWidth = 1.0,
  this.radius = const Radius.circular(8.0),
  this.strokeColor = Colors.cyan,
  this.bgColorBuilder,
}) : super(
        textStyle: textStyle,
        obscureStyle: obscureStyle,
        errorText: errorText,
        errorTextStyle: errorTextStyle,
        hintText: hintText,
        hintTextStyle: hintTextStyle,
        baseBgColorBuilder: bgColorBuilder,
      );