ReadyDashboard class

Inheritance

Constructors

ReadyDashboard({Key? key, required List<DashboardItem> items, CurrentUser currentUser = const CurrentUser.admin(), DrawerOptions drawerOptions(bool phone) = _drawerOptions, int? initialIndex, EdgeInsetsGeometry padding(bool phone) = _padding, AppBarOptions appBarOptions(bool phone) = _appBarOptions, Widget buildPage(bool phone, Widget child) = _buildPage, bool overlapAppBar(bool phone) = _defaultOverlap, bool iconsWhenCollapsedInDesktop = true, NavigatorOptions navigator = const NavigatorOptions(), ValueChanged<String>? onPageChanged, List<Widget> actions = const []})

Properties

actions List<Widget>
This property is used to configure an AppBar.
final
appBarOptions AppBarOptions Function(bool phone)
final
buildPage Widget Function(bool phone, Widget child)
final
currentUser CurrentUser
final
drawerOptions DrawerOptions Function(bool phone)
final
hashCode int
The hash code for this object.
no setterinherited
iconsWhenCollapsedInDesktop bool
final
initialIndex int?
final
items List<DashboardItem>
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
if passed will add a navigator around the entire dashboard
final
onPageChanged ValueChanged<String>?
final
overlapAppBar bool Function(bool phone)
final
padding EdgeInsetsGeometry Function(bool phone)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ReadyDashboard>
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}) 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

Static Methods

mayBeOf(BuildContext context) ReadyDashboardState?
of(BuildContext context) ReadyDashboardState