Open RNOVOSELOV opened 10 months ago
@Conezi hi, thks for your job!
I use your Animatedpage in Dialog and found these: The first and second items in PageView has uncorrect size Could you help me?
return GestureDetector( onTap: () { showDialog( useSafeArea: true, barrierDismissible: true, context: context, builder: (context) { PageController controller = PageController(viewportFraction: 0.7, initialPage: 4); return Padding( padding: const EdgeInsets.only(top: 160, bottom: 141), child: PageView.builder( itemCount: 23, controller: controller, itemBuilder: (context, index) { return AnimatedPage( controller: controller, index: index, effect: ScaleEffect(), child: Card(child: Container(color: Colors.white)), ); }, ), ); }, ); },
The code above is not formatted, attach it here as a picture
@Conezi hi, thks for your job!
I use your Animatedpage in Dialog and found these: The first and second items in PageView has uncorrect size Could you help me?
return GestureDetector( onTap: () { showDialog( useSafeArea: true, barrierDismissible: true, context: context, builder: (context) { PageController controller = PageController(viewportFraction: 0.7, initialPage: 4); return Padding( padding: const EdgeInsets.only(top: 160, bottom: 141), child: PageView.builder( itemCount: 23, controller: controller, itemBuilder: (context, index) { return AnimatedPage( controller: controller, index: index, effect: ScaleEffect(), child: Card(child: Container(color: Colors.white)), ); }, ), ); }, ); },