Open chaselifetech opened 4 years ago
Please follow my instructions, hopefully it solves your problem😊
wordPress = wp.WordPress( baseUrl: 'http://localhost', authenticator: wp.WordPressAuthenticator.JWT, adminName: '', adminKey: '', );
void _onValidUser(wp.WordPress wordPress, wp.User user) { Navigator.pushReplacement( context, MaterialPageRoute( builder: (context) => PostListPage( wordPress: wordPress, user: user, ), ), ); }
Im getting this error: I/flutter ( 7592): type '(dynamic, dynamic) => Null' is not a subtype of type '(dynamic) => dynamic' of 'f'
I believe it is happening on the login.dart section when you click on the login button.
Lind regards David