PageModule class abstract

Module for pages.

You can specify title, routeSettings, and permission, and you can create a module that can do basic page transitions.

Inheritance
Annotations

Constructors

PageModule({String? id, bool enabled = true, String? title, Map<String, RouteConfig>? routeSettings, Permission permission = const Permission()})
Module for pages.
const

Properties

enabled bool
true if Module is enabled.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
ID of the module.
finalinherited
permission Permission
Module's permission.
final
routeSettings Map<String, RouteConfig>?
Route settings.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Page title.
final
type String
Module Type.
no setterinherited

Methods

fromMap(dynamic map) Module?
Convert the module information from DynamicMap.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → dynamic
Convert the module information to DynamicMap.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

merge(List<Module> modules) PageModule?
Merge all modules into a single page module configuration.