LaamsRoute class
It is a Data Transfer Object
which holds the configuration for
LaamsPage
Constructors
-
LaamsRoute({required String name, required AnimationType? animationType, required int? animationDuration, required Object? arguments, required Object? state, required Map<
String, dynamic> ? query, required String? fragment}) -
const
-
LaamsRoute.init({String name = '/', AnimationType? animationType, int? animationDuration, Object? arguments, Object? state, Map<
String, dynamic> ? query, String? fragment}) -
const
Properties
- animationDuration → int?
-
Amount of time it takes to navigate from one
route
to the other inmiliseconds
final - animationType → AnimationType?
-
It will animate the route that is pushed on the stack.
The default animationType is AnimationType.none,
final
- arguments → Object?
-
argumentsare used for deeplinking.
Think of it as
query
afterpath
in a URL.final - fragment → String?
-
Helps you go to a specific part of the page it will be prefixed with
#
for instance if you have a page with an info section then.final - hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
for instance if you have a
page
namedsettings
then you can assign the value of name assettings
or/settings
final -
query
→ Map<
String, dynamic> ? -
argumentsare used for deeplinking.
Think of it as
query
afterpath
in a URL.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → Object?
-
The state of the application in the
location
. The app can have different states even in the same location. For example, the text inside a TextField or the scroll position in a ScrollView. These widget states can be stored in the state.final
Methods
-
copyWith(
{String? name, AnimationType? animationType, int? animationDuration, Map< String, String> ? arguments, Object? state, Map<String, dynamic> ? query, String? fragment}) → LaamsRoute -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override