AppScreenState class

Inheritance

Constructors

AppScreenState()

Properties

context BuildContext
The location in the tree where this widget builds.
no setterinherited
detailPaneDetails → dynamic
info about detailPane
no setter
hashCode int
The hash code for this object.
no setterinherited
isMenuOpen bool
True = MenuList is open (the active MenuItem has it MenuList shown)
no setter
isMenuShown bool
True = Menu is Shown
no setter
masterPaneDetails → dynamic
info about masterPane
no setter
mounted bool
Whether this State object is currently in a tree.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenDetails → dynamic
info about detailPane
no setter
widget AppScreen
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
closeDrawer() → void
Drawer will be closed
closeMenu() → void
MenuList will be closed
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
desktopView(BoxConstraints constraints) Stack
detailIsShown() bool
Get current status of detailPane
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant AppScreen oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
hideContextMenu() → void
Hide ContextMenu
hideMenu() → void
Menu will be hidden from screen
hideShortcutOverlay() → void
Turn off shortcut overlay (activated shortcut is shown on screen)
initState() → void
Called when this object is inserted into the tree.
override
isCompact() bool
Returns current view (true == compact view)
isDesktop() bool
Returns current view (true == desktop view)
isDesktopMode() bool
Returns true if desktop mode is active
isTouchMode() bool
Returns true if touch mode is active
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDrawer() → void
Drawer will be opened
openMenu() → void
Active MenuItem will get is menulist shown
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
setDesktopMode() → void
activate desktop mode
setLargeDrawer() → void
Drawer will be set to large. If shown UI will update
setSmallDrawer() → void
Drawer will be set to small. If shown UI will update
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
setTouchMode() → void
activate touch mode
showContextMenu({required Offset offset, required Widget menu, required double width, required double height, required bool center}) → void
Show ContextMenu
showMenu() → void
Menu will be on screen
showOnlyDetail({bool showBackButton = true}) → void
Detail pane is shown. showBackButton (=true) gives backbutton in menu. If you have your own back functionality use showOnlyMaster() to get back to Master pane.
showOnlyMaster() → void
Master pane is shown.
showShortCutOverlay({required String message}) → void
Show ShortCut overlay with 2 seconds timer
showShortcutOverlay() → void
Turn on shortcut overlay (activated shortcut is shown on screen)
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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