kalismeras61 / flutter_page_transition

This is Flutter Page Transition Package
BSD 2-Clause "Simplified" License
471 stars 56 forks source link

"No Material widget found" when using joined transition? #77

Closed chiholai-sanasofthk closed 1 year ago

chiholai-sanasofthk commented 1 year ago

Hi I am trying to use PageTransitionType.rightToLeftJoined

Although the animation effect plays, the children of the to-be-slide-out page keep throwing exception like:

The following assertion was thrown building ListTile(title: Text, trailing: Icon, onTap: Closure: () => void, dirty):
No Material widget found.

ListTile widgets require a Material widget ancestor.
....
To introduce a Material widget, you can either directly include one, or use a widget that contains Material itself, such as a Card, Dialog, Drawer, or Scaffold.
.....

Any Idea?


Flutter 3.3.1

sdk: ">=2.17.6 <3.0.0" page_transition: ^2.0.9