Screen class

Implementers

Constructors

Screen({required String name, required Widget create(ScreenState), Nav? nav, Screen? parent, bool? includeSafeArea, ScreenManager? manager, void activated(HistoryAction)?, void deactivated(HistoryAction)?})

Properties

activated → void Function(HistoryAction)
final
active bool
getter/setter pair
create Widget Function(ScreenState)
final
deactivated → void Function(HistoryAction)
final
hashCode int
The hash code for this object.
no setterinherited
includeSafeArea bool
final
manager ScreenManager
final
name String
final
final
parent Screen?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createState() ScreenState
get(ScreenState state) Widget
getNav() Nav?
getNavScreen() Screen?
hasNavBar(NavBar bar) bool
invokeListeners(ScreenState state, ScreenStatus status, Widget? widget) → void
isDefaultState(ScreenState state) bool
listen(ScreenListener listener) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(ScreenListener listener) → void
toString() String
A string representation of this object.
override

Operators

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