Skip to content

Commit b8758e0

Browse files
committed
refactor: dart format (test_input)
1 parent 9fc1ec2 commit b8758e0

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

packages/go_router_builder/test_inputs/extension_type_parameter.dart

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,22 @@ mixin _$ExtensionTypeBigIntParam {}
1717
mixin _$ExtensionTypeDateTimeParam {}
1818
mixin _$ExtensionTypeUriType {}
1919

20-
@TypedGoRoute<ExtensionTypeParam>(path: '/', routes: <TypedRoute<RouteData>>[
21-
TypedGoRoute<ExtensionTypeStringParam>(path: 'string/:s'),
22-
TypedGoRoute<ExtensionTypeStringDefaultParam>(path: 'string_default/:s'),
23-
TypedGoRoute<ExtensionTypeIntParam>(path: 'int/:x'),
24-
TypedGoRoute<ExtensionTypeIntDefaultParam>(path: 'int_default/:x'),
25-
TypedGoRoute<ExtensionTypeDoubleParam>(path: 'double/:d'),
26-
TypedGoRoute<ExtensionTypeNumParam>(path: 'num/:n'),
27-
TypedGoRoute<ExtensionTypeBoolParam>(path: 'bool/:b'),
28-
TypedGoRoute<ExtensionTypeEnumType>(path: 'enum/:value'),
29-
TypedGoRoute<ExtensionTypeBigIntParam>(path: 'bigint/:bi'),
30-
TypedGoRoute<ExtensionTypeDateTimeParam>(path: 'datetime/:dt'),
31-
TypedGoRoute<ExtensionTypeUriType>(path: 'uri/:uri'),
32-
])
20+
@TypedGoRoute<ExtensionTypeParam>(
21+
path: '/',
22+
routes: <TypedRoute<RouteData>>[
23+
TypedGoRoute<ExtensionTypeStringParam>(path: 'string/:s'),
24+
TypedGoRoute<ExtensionTypeStringDefaultParam>(path: 'string_default/:s'),
25+
TypedGoRoute<ExtensionTypeIntParam>(path: 'int/:x'),
26+
TypedGoRoute<ExtensionTypeIntDefaultParam>(path: 'int_default/:x'),
27+
TypedGoRoute<ExtensionTypeDoubleParam>(path: 'double/:d'),
28+
TypedGoRoute<ExtensionTypeNumParam>(path: 'num/:n'),
29+
TypedGoRoute<ExtensionTypeBoolParam>(path: 'bool/:b'),
30+
TypedGoRoute<ExtensionTypeEnumType>(path: 'enum/:value'),
31+
TypedGoRoute<ExtensionTypeBigIntParam>(path: 'bigint/:bi'),
32+
TypedGoRoute<ExtensionTypeDateTimeParam>(path: 'datetime/:dt'),
33+
TypedGoRoute<ExtensionTypeUriType>(path: 'uri/:uri'),
34+
],
35+
)
3336
class ExtensionTypeParam extends GoRouteData with _$ExtensionTypeParam {
3437
ExtensionTypeParam();
3538
}
@@ -71,9 +74,7 @@ class ExtensionTypeIntParam extends GoRouteData with _$ExtensionTypeIntParam {
7174

7275
class ExtensionTypeIntDefaultParam extends GoRouteData
7376
with _$ExtensionTypeIntDefaultParam {
74-
ExtensionTypeIntDefaultParam({
75-
this.x = const IntExtensionType(42),
76-
});
77+
ExtensionTypeIntDefaultParam({this.x = const IntExtensionType(42)});
7778
final IntExtensionType x;
7879
}
7980

0 commit comments

Comments
 (0)