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
The more I think about this, the more inclined I am to tackle the case generally w/ an annotation in meta (dart-lang/sdk#34378) and general purpose enforcement in analyzer. Would love to hear other folk's thoughts...
Follow-up from flutter/flutter#41220 (comment) (and flutter/flutter#1220).
Intent: disallow overriding
==
andhashCode
inWidget
subclasses.Discussion: consider a general solution such as a
@final
annotation (or extending@sealed
inpackage:meta
)./cc @bwilkerson @Hixie
The text was updated successfully, but these errors were encountered: