DemoFluApp constructor
DemoFluApp({})
Builds a DemoFluApp.
The widgetBackground defines the default widget background for all examples.
Implementation
DemoFluApp(
{required this.title,
required this.appMenuBuilder,
this.resizable = false,
this.widgetBackground = Colors.white,
this.maxSize,
this.consoleEnabled = false,
this.initialWidthWeight,
this.initialHeightWeight}) {
if (initialHeightWeight != null &&
(initialHeightWeight! < 0 || initialHeightWeight! > 1)) {
throw ArgumentError(
'initialHeightWeight must be a value between 0 and 1: $initialHeightWeight');
}
if (initialWidthWeight != null &&
(initialWidthWeight! < 0 || initialWidthWeight! > 1)) {
throw ArgumentError(
'initialWidthWeight must be a value between 0 and 1: $initialWidthWeight');
}
}