PlexRoute class
Plex route and side menu widget will use this clas instance to work properly
Constructors
- PlexRoute({required String route, required String title, required Widget screen(BuildContext context, {dynamic data}), Widget? logo, Widget? selectedLogo, String category = "Menu", String? rule, String? shortTitle, String? tag, String? tagDescription, Color? tagBgColor, Color? tagTextColor})
- Default constructor
Properties
- category ↔ String
-
Use this category to group the screen in drawer menu
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- logo ↔ Widget?
-
Optional logo
getter/setter pair
- route ↔ String
-
route will be use to move between screens
getter/setter pair
- rule ↔ String?
-
Use this rule to group the screen in drawer menu
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen ↔ Widget Function(BuildContext context, {dynamic data})
-
This is the build method to build the screen user defined UI
getter/setter pair
- selectedLogo ↔ Widget?
-
getter/setter pair
- shortTitle ↔ String?
-
getter/setter pair
- tag ↔ String?
-
tag will be used to show as a tag in navigation rail
getter/setter pair
- tagBgColor ↔ Color?
-
getter/setter pair
- tagDescription ↔ String?
-
getter/setter pair
- tagTextColor ↔ Color?
-
getter/setter pair
- title ↔ String
-
title will be use to display title od the screen in the app
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited