Repository navigation
Release v17.0.1-beta.4
Pre-release
Pre-release
Fixed
check_mounted_after_async: no longer treats anawaitinside an always-returningifbranch as an await before a latersetState.require_mounted_check_after_await,require_mounted_check: anawaitconfined to an always-exitingifbranch no longer triggerssetStatereports after theif.use_setstate_synchronously: await and guard state are now restored after anifwhose awaits all sit in exiting branches.avoid_platform_channel_on_web: no longer flags calls afterif (field == null) return(field null on web) or after a negatedPlatform.isXearly exit, and is skipped in Flutter projects with noweb/target.avoid_inert_animation_value_in_build: no longer flags ananimation.valueread in a branch whose sibling branch uses anAnimatedBuilderorListenableBuilderon the same animation.avoid_datetime_constructor: no longer flags aDateTime(...)assigned to a local and then round-trip validated by anifon itsmonthordaythat exits.avoid_retaining_disposed_widgets: no longer flags immutableconstdescriptor classes, render-time delegates (FlowDelegate,CustomPainterand similar), or widgets that reachWidgetorStatethrough a non-listed Flutter base class.avoid_storing_context: no longer flags aBuildContextfield on render-time delegates, or afinalfield whose every use follows a.mountedcheck.avoid_parameter_mutation: no longer flagsvoid/boolfunctions documented as in-place ("in place"/"mutates") or named with a mutator verb (apply,restore,rollback,inherit,carry,merge,stamp,mark).move_variable_closer_to_its_usage: no longer flags a state snapshot (call or member-read initializer) taken before interveningawaits.prefer_asmap_over_indexed_iteration: no longer flags pairwise loops (inner start not 0, or index feeding a nested loop bound).prefer_static_method: no longer flags instance methods of singleton classes (private/factory constructors plus a static self-typed instance).prefer_try_parse_for_dynamic_data:Uri.parseof an interpolation made only ofconstreferences andUri.encode*calls is no longer flagged.require_apple_signin_nonce: no longer reportsgetAppleIDCredential(scopes: []), which only fetches an authorization code for token revocation.require_data_encryption: no longer reports calls that only clear credential fields withnullorValue(null).require_drift_equals_value: now resolves the argument type and reports only enums, sostatic const Stringor int arguments pass.require_qr_permission_check: no longer reportsMobileScanner, which handles camera permission itself.require_speech_stop_on_dispose: follows same-class and externally declared private helpers called fromdispose().