GeneralLibFlutterAppMain class

Inheritance
Available extensions

Constructors

GeneralLibFlutterAppMain({Key? key, required GeneralLibFlutterApp generalLibFlutterApp, bool isAutoInitialized = true, ThemeData lightTheme(BuildContext context, ThemeData defaultTheme)?, ThemeData darkTheme(BuildContext context, ThemeData defaultTheme)?, required Widget builder(ThemeMode themeMode, ThemeData lightTheme, ThemeData darkTheme, Widget? widget), Widget? child})
const

Properties

builder Widget Function(ThemeMode themeMode, ThemeData lightTheme, ThemeData darkTheme, Widget? widget)
final
child Widget?
final
darkTheme ThemeData Function(BuildContext context, ThemeData defaultTheme)?
final
generalLibFlutterApp GeneralLibFlutterApp
final
hashCode int
The hash code for this object.
no setterinherited
isAutoInitialized bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lightTheme ThemeData Function(BuildContext context, ThemeData defaultTheme)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
darkTheme_default() ThemeData
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
extension_general_lib_flutter_orientation({required BuildContext context}) Orientation

Available on T, provided by the StateGeneralLibFlutterGeneralLibFlutterStatelessWidgetExtension extension

lightTheme_default() ThemeData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
routeDataGeneralLibFlutter({required BuildContext context}) RouteDataGeneralLibFlutter

Available on T, provided by the RouteGeneralLibFlutterGeneralLibFlutterStatelessWidgetExtension extension

routerGeneralLibFlutter({required BuildContext context}) RouterGeneralLibFlutter

Available on T, provided by the RouteGeneralLibFlutterGeneralLibFlutterStatelessWidgetExtension extension

toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toJson() Map?

Available on Widget?, provided by the WidgetNullToJson extension

toJson() Map

Available on Widget, provided by the WidgetToJson extension

toMap() Map

Available on Widget?, provided by the WidgetNullToJson extension

toMap() Map

Available on Widget, provided by the WidgetToJson extension

toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited