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,
}) {
var child = getChild(data);
return FloatingActionButton(
autofocus: autofocus,
backgroundColor: backgroundColor,
clipBehavior: clipBehavior,
disabledElevation: disabledElevation,
enableFeedback: enableFeedback,
elevation: elevation,
focusColor: focusColor,
focusElevation: focusElevation,
focusNode: focusNode,
foregroundColor: foregroundColor,
heroTag: heroTag,
highlightElevation: highlightElevation,
hoverColor: hoverColor,
hoverElevation: hoverElevation,
isExtended: isExtended,
key: key,
materialTapTargetSize: materialTapTargetSize,
mini: mini,
mouseCursor: mouseCursor,
onPressed: onPressed,
shape: shape,
splashColor: splashColor,
tooltip: tooltip,
child: child.build(
childBuilder: childBuilder,
context: context,
),
);
}