clean-code-dev/animated_splash_screen

PageTransitionType throws an error

Closed this issue · 2 comments

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)
"

Please resolve this issue.
error

yep had this too, just add this import
import 'package:page_transition/page_transition.dart';

Thank you so much @AntonyLeons ... This solved my issue completely !