Error: Getter not found: 'context'.

This Errors is posted by seven.srikanth at 25-07-2018 02:15:47

Click here to support us by Subscribing to our youtube channel.

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


Click here to support us by Subscribing to our youtube channel.




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.




Wave animation in Flutter




Search Results





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