Error: Getter not found: 'context'.

This Errors is posted by seven.srikanth at 7/25/2018 2:15:47 AM



compiler message: lib/main.dart:41:45: Error: Getter not found: 'context'.
compiler message:     data: new IconThemeData(color: Theme.of(context).accentColor), //new
Got this error while building friendlychat from flutter.io.
Any advise on how this can be fixed?

Tags: Getter not found: 'context'.;data: new IconThemeData(color: Theme.of(context).accentColor);








0 Comments
Login to comment.
Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.


© 2018 - Fluttercentral | Email to me - seven.srikanth@gmail.com