from static method
Generates a skeleton from a widget.
Implementation
static Widget from(
Widget child, {
SkeletonConfig? config,
}) {
return Builder(
builder: (context) {
return SkeletonParser.parse(
child,
config ?? SkeletonConfig.defaultConfig,
context,
);
},
);
}