build method
Delegates the build to the SkeletonizerState
Implementation
@override
Widget build(BuildContext context, SkeletonizerBuildData data) {
return SkeletonizerScope(
enabled: data.enabled,
config: data.config,
isZone: data.isZone,
isInsideZone: data.isInsideZone,
animationController: data.animationController,
child: data.enabled
? SliverSkeletonizerRenderObjectWidget(
data: data,
child: child,
)
: child,
);
}