shouldConvert static method
Checks if a widget type should be converted to skeleton.
Implementation
static bool shouldConvert(Widget widget) {
return widget is Text ||
widget is Image ||
widget is Icon ||
widget is ElevatedButton ||
widget is TextButton ||
widget is OutlinedButton ||
widget is FloatingActionButton ||
widget is Card ||
widget is CircleAvatar ||
widget is ListTile ||
widget is Checkbox ||
widget is Radio ||
widget is Switch;
}