withGBInputWrapper method

Widget withGBInputWrapper({
  1. String? label,
  2. Widget? labelWidget,
  3. bool appendColonToLabel = true,
  4. TextStyle? labelStyle,
  5. String? errorText,
  6. bool hasError = false,
  7. List<InputFeedbackText>? feedback,
  8. WrapWidgetBuilder? innerBoxWrapper,
  9. 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,
  );
}