Creates a widget that wraps a number of widgets that are commonly required for an application.
Source
WidgetsApp({
Key key,
@required this.onGenerateRoute,
this.title,
this.textStyle,
this.color,
this.navigatorObserver,
this.initialRoute,
this.onLocaleChanged,
this.showPerformanceOverlay: false,
this.checkerboardRasterCacheImages: false,
this.showSemanticsDebugger: false,
this.debugShowCheckedModeBanner: true
}) : super(key: key) {
assert(onGenerateRoute != null);
assert(showPerformanceOverlay != null);
assert(checkerboardRasterCacheImages != null);
assert(showSemanticsDebugger != null);
}