withGBInputWrapper method
Widget
withGBInputWrapper({
- String? label,
- Widget? labelWidget,
- bool appendColonToLabel = true,
- TextStyle? labelStyle,
- String? errorText,
- bool hasError = false,
- List<
InputFeedbackText> ? feedback, - WrapWidgetBuilder? innerBoxWrapper,
- BoxConstraints? constraints,
Implementation
Widget withGBInputWrapper({
String? label,
Widget? labelWidget,
bool appendColonToLabel = true,
TextStyle? labelStyle,
String? errorText,
bool hasError = false,
List<InputFeedbackText>? feedback,
WrapWidgetBuilder? innerBoxWrapper,
BoxConstraints? constraints,
}) {
return GBInputWrapper(
label: label,
labelWidget: labelWidget,
appendColonToLabel: appendColonToLabel,
labelStyle: labelStyle,
errorText: errorText,
hasError: hasError,
feedback: feedback,
innerBoxWrapper: innerBoxWrapper,
constraints: constraints,
child: this,
);
}