BoxLooseDecoration constructor

const BoxLooseDecoration({
  1. TextStyle? textStyle,
  2. ObscureStyle? obscureStyle,
  3. String? errorText,
  4. TextStyle? errorTextStyle,
  5. String? hintText,
  6. TextStyle? hintTextStyle,
  7. Color? enteredColor,
  8. Color? solidColor,
  9. Radius radius = const Radius.circular(8.0),
  10. double strokeWidth = 1.0,
  11. double gapSpace = 16.0,
  12. List<double>? gapSpaces,
  13. Color strokeColor = Colors.cyan,
})

Implementation

const BoxLooseDecoration({
  TextStyle? textStyle,
  ObscureStyle? obscureStyle,
  String? errorText,
  TextStyle? errorTextStyle,
  String? hintText,
  TextStyle? hintTextStyle,
  this.enteredColor,
  this.solidColor,
  this.radius: const Radius.circular(8.0),
  this.strokeWidth: 1.0,
  this.gapSpace: 16.0,
  this.gapSpaces,
  this.strokeColor: Colors.cyan,
}) : super(
        textStyle: textStyle,
        obscureStyle: obscureStyle,
        errorText: errorText,
        errorTextStyle: errorTextStyle,
        hintText: hintText,
        hintTextStyle: hintTextStyle,
      );