widgetStub function
Implementation
String widgetStub(String name, String type) {
switch (type) {
case 'stateful':
return _statefulWidgetStub(name);
case 'consumer':
return _consumerWidgetStub(name);
case 'stateless':
default:
return _statelessWidgetStub(name);
}
}