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
styled_widget uses InheritedWidget to pass animations down to children. This means defined animations in one Widget is passed down to all later children of the widget.
styled_widget also uses InheritedWidget for gestures to make the ripple method possible with InkWell. If onTap isnt inherited from GestureDetector the method wont trigger. Therefore all later children with a ripple method will inherit the onTap method. This can maybe be fixed by implementing some logic in the InheritedWidget which only allows two children (GestureDetector and one InkWell) to access the method
The text was updated successfully, but these errors were encountered:
styled_widget
uses InheritedWidget to pass animations down to children. This means defined animations in one Widget is passed down to all later children of the widget.styled_widget
also uses InheritedWidget for gestures to make the ripple method possible withInkWell
. If onTap isnt inherited fromGestureDetector
the method wont trigger. Therefore all later children with aripple
method will inherit theonTap
method. This can maybe be fixed by implementing some logic in theInheritedWidget
which only allows two children (GestureDetector
and oneInkWell
) to access the methodThe text was updated successfully, but these errors were encountered: