GgRouterCore class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- GgRouterCore
Constructors
- GgRouterCore({Key? key, required Widget child, required GgRouteTreeNode node})
-
const
Properties
- child → Widget
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexOfActiveChild → int?
-
Returns the index of the visible child.
Returns null, if no child is visible.
You can use that index to highlight the right entry in a menu for example.
no setter
- indexOfChildAnimatingIn → int?
-
Returns the child's index currently fading in, or null, if no child is
now fading.
no setter
- indexOfChildAnimatingOut → int?
-
Returns the child's index currently fading out, or null, if no child is
now fading.
no setter
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- nameOfChildAnimatingIn → String?
-
Returns the child's name currently fading in, or null, if no child is
now fading.
no setter
- nameOfChildAnimatingOut → String?
-
Returns the child's name currently fading out, or null, if no child is
now fading.
no setter
- node → GgRouteTreeNode
-
final
-
onActiveChildChange
→ Stream<
void> -
Use this stream to be informed when the visible child changes.
no setter
- routeName → String?
-
Returns the name of the route, this GgRouter instance is assigned.
Returns null if the route doesn't have a name.
no setter
- routeNameOfActiveChild → String?
-
Returns the name of the visible child route.
Returns null if no child is visible.
no setter
- routePath → String
-
Returns the path of this GgRouter instance.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
- Activates the path in the node hierarchy.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
param(
String name) → GgValue? -
Use this method to change the param with
name
or to listen to changes. -
semanticLabelForPath(
String path) → String - Returns the semantic label for a given path
-
setSemanticLabelForPath(
{required String path, required String label}) → void - Returns the semantic label for a given path
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited