EasyDashboard class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- EasyDashboard
Constructors
-
EasyDashboard({Key? key, required EasyAppController controller, EasyBody? body, Duration duration = const Duration(milliseconds: 300), double mobileBreakpoint = 600, double tabletBreakpoint = 900, MobileView mobileView = const MobileView(), TabletView tabletView = const TabletView(), DesktopView desktopView = const DesktopView(), EasyDeviceMode tabletMode = EasyDeviceMode.tablet, EasyDeviceMode mobileMode = EasyDeviceMode.mobile, EasyDeviceMode desktopMode = EasyDeviceMode.desktop, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButton? floatingActionButton, SystemUiOverlayStyle? systemOverlayStyle, FloatingActionButtonAnimator? floatingActionButtonAnimator, double appBarHeight = kToolbarHeight, bool centerTitle = true, Color backgroundColor = Colors.white, Color appBarColor = Colors.blue, Color sideBarColor = Colors.white, List<
Widget> ? appBarActions, required DrawerBuilder drawer}) -
Easy Dashboard
const
Properties
-
appBarActions
→ List<
Widget> ? -
A list of Widgets for the AppBar actions
final
- appBarColor → Color
-
The color of the app bar
final
- appBarHeight → double
-
The height of the app bar
final
- backgroundColor → Color
-
General background color of the EasyDashboard
final
- body → EasyBody?
-
final
- centerTitle → bool
-
Whether or not the appbar title is centered
final
- controller → EasyAppController
-
Use EasyAppController to control the EasyDashboard body widget .
Use this to set the initial body widget.
final
- desktopMode → EasyDeviceMode
-
What to show when the desktop break point is reached,
change it to override or persist a current view.
Example:
final
- desktopView → DesktopView
-
Display properties while in desktop view such as dashboard style
final
- drawer → DrawerBuilder
-
An drawer widget that will be displayed on the left side of the EasyDashboard.
You can use the pre-built EasyDrawer to create a faster easier drawer .
final
- duration → Duration
-
The Duration of the animation when the EasyDashboard is opened or closed among others.
final
- floatingActionButton → FloatingActionButton?
-
final
- floatingActionButtonAnimator → FloatingActionButtonAnimator?
-
final
- floatingActionButtonLocation → FloatingActionButtonLocation?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mobileBreakpoint → double
-
The pixels at which the ui breaks into the mobile view
final
- mobileMode → EasyDeviceMode
-
What to show when the mobile break point is reached,
change it to override or persist a current view.
Example:
final
- mobileView → MobileView
-
Display properties while in tablet view such as dashboard style
final
-
The icon that will control the responsive navigation of the EasyDashboard
final
-
The splash radius of the navigation icon when pressed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideBarColor → Color
-
The color of the sidebar navigation
final
- systemOverlayStyle → SystemUiOverlayStyle?
-
final
- tabletBreakpoint → double
-
The pixels at which the ui breaks into the tablet view
final
- tabletMode → EasyDeviceMode
-
What to show when the tablet break point is reached,
change it to override or persist a current view.
Example:
final
- tabletView → TabletView
-
Display properties while in tablet view such as dashboard style
final
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
-
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
-
getLayout(
EasyDeviceMode mode, BoxConstraints constraints) → Widget -
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