TreeNode class
Class for building nodes in a Tree.
- Annotations
Constructors
-
TreeNode(String title, {WidgetBuilder? builder, List<
TreeNode> ? nodes}) -
Creates a tree node with the page title, and child or children.
const
-
TreeNode.child(String text, {WidgetBuilder? builder, String? defaultTitle, Map<
String, WidgetBuilder> ? routes, RouteFactory? onGenerateRoute, RouteFactory? onUnknownRoute, }) -
Creates a node with a default text and a Navigator history.
See also:
factory
-
TreeNode.children(String text, {required List<
TreeNode> children}) -
Creates a node with children and default text.
factory
Properties
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