newWidget static method

Future<void> newWidget(
  1. String widgetName
)

this function will =>

  1. create file widget class in widget folder
  2. export this file into widgets.dart file

Implementation

static Future<void> newWidget(String widgetName) async {
  return _createNew(widgetName, _widgetFolder, _widgetTemp(widgetName));
}