PageTransitionType throws an error
Closed this issue · 2 comments
Sharif-Niloy commented
This is a really useful package & I am using the version (1.0.1+2). But I am facing the problem described as below.
PageTransitionType.[TYPE] does not work. It throws an error that says: " Undefined name 'PageTranstionType'.
Try correcting the name to one that is defined, or defining the name. dart(undefined_identifier) "
AntonyLeons commented
yep had this too, just add this import
import 'package:page_transition/page_transition.dart';
Sharif-Niloy commented
Thank you so much @AntonyLeons ... This solved my issue completely !