flutter pub add failed at version solving, for every package here that builds
native code:
Because every version of flutter from sdk depends on meta 1.17.0 and
native_toolchain_c >=0.19.3 depends on meta ^1.19.0, flutter from sdk is
incompatible with native_toolchain_c >=0.19.3.
hooks 2.1.0 and native_toolchain_c 0.19.3 raised their meta floor to ^1.19.0.
The Flutter SDK pins meta, so a caret on the newest version of either made the
package unresolvable in any Flutter project, while pub.dev went on advertising
Flutter support and full platform badges.
Allowing hooks >=2.0.2 and native_toolchain_c >=0.19.2 lets the solver pick a
build that works with the pinned meta; a pure-Dart project still gets the
newest. No API or behaviour change.
Caught by trying it: flutter pub add against a fresh Flutter 3.41.2 app failed
for all seven, and resolves after the change. Host tests were green throughout
and never touched this, which is the lesson: dart test on the author's machine
does not resolve against the Flutter SDK.