Skip to content

[go_router] Use library prefix for meta #9434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/go_router/lib/src/match.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:logging/logging.dart';
import 'package:meta/meta.dart';
import 'package:meta/meta.dart' as meta;

import 'configuration.dart';
import 'logging.dart';
Expand Down Expand Up @@ -402,7 +402,7 @@ class ShellRouteMatch extends RouteMatchBase {
///
/// This is typically used when pushing or popping [RouteMatchBase] from
/// [RouteMatchList].
@internal
@meta.internal
ShellRouteMatch copyWith({
required List<RouteMatchBase>? matches,
}) {
Expand Down Expand Up @@ -766,7 +766,7 @@ class RouteMatchList with Diagnosticable {
/// returns false.
///
/// This method visit recursively into shell route matches.
@internal
@meta.internal
void visitRouteMatches(RouteMatchVisitor visitor) {
_visitRouteMatches(matches, visitor);
}
Expand All @@ -786,7 +786,7 @@ class RouteMatchList with Diagnosticable {
}

/// Create a new [RouteMatchList] with given parameter replaced.
@internal
@meta.internal
RouteMatchList copyWith({
List<RouteMatchBase>? matches,
Uri? uri,
Expand Down Expand Up @@ -841,7 +841,7 @@ class RouteMatchList with Diagnosticable {
/// suitable for using with [StandardMessageCodec].
///
/// The primary use of this class is for state restoration and browser history.
@internal
@meta.internal
class RouteMatchListCodec extends Codec<RouteMatchList, Map<Object?, Object?>> {
/// Creates a new [RouteMatchListCodec] object.
RouteMatchListCodec(RouteConfiguration configuration)
Expand Down
4 changes: 2 additions & 2 deletions packages/go_router/lib/src/route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'dart:async';
import 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:meta/meta.dart';
import 'package:meta/meta.dart' as meta;

import 'configuration.dart';
import 'match.dart';
Expand Down Expand Up @@ -459,7 +459,7 @@ class GoRoute extends RouteBase {
extractPathParameters(pathParameters, match);

/// The path parameters in this route.
@internal
@meta.internal
final List<String> pathParameters = <String>[];

@override
Expand Down