Screen class Null safety

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
read / write
create Widget Function(ScreenState)
final
deactivated → void Function(HistoryAction)
final
hashCode int
The hash code for this object.
read-onlyinherited
includeSafeArea bool
final
manager ScreenManager
final
name String
final
final
parent Screen?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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