RegexUI constructor
const
RegexUI({
- Key? key,
- required TextEditingController controller,
- required List<
RegexModel> regexList, - FocusNode? focusNode,
- EdgeInsets? padding,
- EdgeInsets? margin,
- BoxDecoration? boxDecoration,
- IconData? iconTrue,
- IconData? iconFalse,
- Color? textColorTrue,
- Color? textColorFalse,
- Color? iconColorTrue,
- Color? iconColorFalse,
- TextStyle? textStyle,
- dynamic validate(
- bool isValid
- RegexUIVisibility? visibility,
- RegexUIStyle style = RegexUIStyle.list,
- bool showStrength = false,
- RegexUIStrength strengthMode = RegexUIStrength.rules,
- List<
String> ? strengthLabels, - bool optional = false,
- String? metLabel,
- String? unmetLabel,
Creates the checklist for controller.
Implementation
const RegexUI({
super.key,
required this.controller,
required this.regexList,
this.focusNode,
this.padding,
this.margin,
this.boxDecoration,
this.iconTrue,
this.iconFalse,
this.textColorTrue,
this.textColorFalse,
this.iconColorTrue,
this.iconColorFalse,
this.textStyle,
this.validate,
this.visibility,
this.style = RegexUIStyle.list,
this.showStrength = false,
this.strengthMode = RegexUIStrength.rules,
this.strengthLabels,
this.optional = false,
this.metLabel,
this.unmetLabel,
});