buildCustom method
Widget
buildCustom({
- ChildWidgetBuilder? childBuilder,
- required BuildContext context,
- required JsonWidgetData data,
- Key? key,
override
Custom builder that subclasses must override and implement to return the actual Widget to be placed on the tree.
Implementation
@override
Widget buildCustom({
ChildWidgetBuilder? childBuilder,
required BuildContext context,
required JsonWidgetData data,
Key? key,
}) {
final child = getChild(data);
return Semantics(
attributedDecreasedValue: attributedDecreasedValue,
attributedHint: attributedHint,
attributedIncreasedValue: attributedIncreasedValue,
attributedLabel: attributedLabel,
attributedValue: attributedValue,
button: button,
customSemanticsActions: customSemanticsActions,
checked: checked,
container: container,
currentValueLength: currentValueLength,
decreasedValue: decreasedValue,
enabled: enabled,
excludeSemantics: excludeSemantics,
explicitChildNodes: explicitChildNodes,
focusable: focusable,
focused: focused,
header: header,
hidden: hidden,
hint: hint,
image: image,
inMutuallyExclusiveGroup: inMutuallyExclusiveGroup,
increasedValue: increasedValue,
key: key,
keyboardKey: keyboardKey,
label: label,
link: link,
liveRegion: liveRegion,
maxValueLength: maxValueLength,
mixed: mixed,
multiline: multiline,
namesRoute: namesRoute,
obscured: obscured,
onCopy: onCopy,
onCut: onCut,
onDecrease: onDecrease,
onDidGainAccessibilityFocus: onDidGainAccessibilityFocus,
onDidLoseAccessibilityFocus: onDidLoseAccessibilityFocus,
onDismiss: onDismiss,
onIncrease: onIncrease,
onLongPress: onLongPress,
onLongPressHint: onLongPressHint,
onMoveCursorBackwardByCharacter: onMoveCursorBackwardByCharacter,
onMoveCursorForwardByCharacter: onMoveCursorForwardByCharacter,
onPaste: onPaste,
onScrollDown: onScrollDown,
onScrollLeft: onScrollLeft,
onScrollRight: onScrollRight,
onScrollUp: onScrollUp,
onSetSelection: onSetSelection,
onSetText: onSetText,
onTap: onTap,
onTapHint: onTapHint,
readOnly: readOnly,
scopesRoute: scopesRoute,
selected: selected,
slider: slider,
sortKey: sortKey,
tagForChildren: tagForChildren,
textDirection: textDirection,
textField: textField,
toggled: toggled,
tooltip: tooltip,
value: value,
child: child.build(
childBuilder: childBuilder,
context: context,
),
);
}