You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[go_router_builder] withNullability is deprecated #166603
info • lib/src/go_router_generator.dart:82:55 • 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
info • lib/src/route_config.dart:612:47 • 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
info • lib/src/type_helpers.dart:71:36 • 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
info • lib/src/type_helpers.dart:114:54 • 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
I'm a bit confused by it. The deprecated message says "Only non-nullable by default mode is supported". So it sounds like it should be used with false only.
However, the default value is true, which is forcing go_router_builder to specify the parameter and, therefore get the deprecation message. What is expected to be done? Or did I misunderstand something ?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
ValentinVignal commentedon Apr 10, 2025
I'm a bit confused by it. The deprecated message says "Only non-nullable by default mode is supported". So it sounds like it should be used with
falseonly.However, the default value is
true, which is forcing go_router_builder to specify the parameter and, therefore get the deprecation message. What is expected to be done? Or did I misunderstand something ?[go_router_builder] Fixes an deprecated warning for using withNullabi…
[go_router_builder] Fixes an deprecated warning for using withNullabi…
[go_router_builder] Fixes an deprecated warning for using withNullabi…
stuartmorgan-g commentedon Nov 26, 2025
This (and several other deprecated API usages in this package) will probably be resolved as part of #179073.
[go_router_builder] Add `analyzer` 9 compatibility (#10526)
github-actions commentedon Dec 14, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[go_router_builder] Add `analyzer` 9 compatibility (flutter#10526)
[go_router_builder] Add `analyzer` 9 compatibility (flutter#10526)