ModBaseLayout class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ModBaseLayout
Constructors
-
ModBaseLayout.new({Key? key, required String title, Widget? logo, required Widget? body, List<
String> ? claims, List<ModuleMenu> ? moduleMenuGroups, UserProfile? userProfile, List<Widget> ? appBarActions, bool showDefaultActions = true, Widget? sidebarHeader, Color? sidebarBackgroundColor, Color? sidebarSelectedColor, Color? sidebarUnselectedColor, Widget? drawerHeader, Color? lightBackgroundColor, Color? darkBackgroundColor, Color? lightForegroundColor, Color? darkForegroundColor, bool showAppBar = true, Color? drawerBackgroundColor, String? loginRoute, VoidCallback? onNoAccessRedirect, bool disableClaimsValidation = false}) -
const
Properties
-
appBarActions
→ List<
Widget> ? -
final
- body → Widget?
-
final
-
claims
→ List<
String> ? -
final
- darkBackgroundColor → Color?
-
final
- darkForegroundColor → Color?
-
final
- disableClaimsValidation → bool
-
final
- drawerBackgroundColor → Color?
-
final
- drawerHeader → Widget?
-
final
-
final
-
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lightBackgroundColor → Color?
-
final
- lightForegroundColor → Color?
-
final
- loginRoute → String?
-
final
- logo → Widget?
-
final
-
final
-
moduleMenuGroups
→ List<
ModuleMenu> ? -
final
- onNoAccessRedirect → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAppBar → bool
-
final
- showDefaultActions → bool
-
final
-
final
-
final
-
final
-
final
-
final
- title → String
-
final
- userProfile → UserProfile?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ModBaseLayout> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
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