grass<T> method
Implementation
T grass<T>({
BuildContext? context,
Object? group,
bool useEntryGroup = true,
int? position = 0,
}) {
assert(() {
position = position == null ? null : position! + 1;
return true;
}());
final dependence = getRouteDependence(context);
if (context != null && useEntryGroup) {
final entry = RouteQueueEntry.of(context);
group ??= entry?.getGroup(T);
}
return Node.defaultGetData(
getAlias(T), dependence, globalDependence, group, position);
}