NyRouterOptions class Null safety

Options to configure a Nylo Router instance.

Constructors

NyRouterOptions({Widget notFoundPage = const PageNotFound(), bool handleNameNotFoundUI = false, bool isLoggingEnabled = false, Duration transitionDuration = const Duration(milliseconds: 300), GlobalKey<NavigatorState>? navigatorKey})
const

Properties

handleNameNotFoundUI bool
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isLoggingEnabled bool
Should display logs in console. Nylo Router prints some useful logs which can be helpful during development. [...]
final
A navigator key lets NyRouter grab the NavigatorState from a MaterialApp or a CupertinoApp. All navigation operations (push, pop, etc) are carried out using this NavigatorState. [...]
final
notFoundPage Widget
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
transitionDuration Duration
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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