FastReadOnlyTextField constructor
const
FastReadOnlyTextField({
- Key? key,
- required String labelText,
- String placeholderText = kFastEmptyString,
- bool enableInteractiveSelection = true,
- FontWeight fontWeight = kFastFontWeightBold,
- bool showHelperBoundaries = true,
- bool showBorder = false,
- TextAlign textAlign = TextAlign.left,
- Color? helperTextColor,
- Color? valueTextColor,
- Widget? suffixIcon,
- String? helperText,
- String? valueText,
- double? fontSize,
- Widget? child,
Implementation
const FastReadOnlyTextField({
Key? key,
required this.labelText,
this.placeholderText = kFastEmptyString,
this.enableInteractiveSelection = true,
this.fontWeight = kFastFontWeightBold,
this.showHelperBoundaries = true,
this.showBorder = false,
this.textAlign = TextAlign.left,
this.helperTextColor,
this.valueTextColor,
this.captionText,
this.suffixIcon,
this.helperText,
this.valueText,
this.fontSize,
this.child,
}) : super(key: key);