Closed ride4sun closed 6 years ago
Good catch! I can't make the commit for a few days, can you open a PR?
Sure,will do
On Oct 25, 2017 08:09, "Spencer" notifications@github.com wrote:
Good catch! I can't make the commit for a few days, can you open a PR?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ArcticZeroo/flutter-search-bar/issues/3#issuecomment-339362573, or mute the thread https://github.com/notifications/unsubscribe-auth/AHYc61QAEuO2LgN04CecAA6HvY-9otchks5sv08cgaJpZM4QFOlO .
Sure, will do
On Oct 25, 2017 08:09, "Spencer" notifications@github.com wrote:
Good catch! I can't make the commit for a few days, can you open a PR?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ArcticZeroo/flutter-search-bar/issues/3#issuecomment-339362573, or mute the thread https://github.com/notifications/unsubscribe-auth/AHYc61QAEuO2LgN04CecAA6HvY-9otchks5sv08cgaJpZM4QFOlO .
The context in the example is null
Scaffold.of(context) .showSnackBar(new SnackBar(content: new Text('You wrote $value!'))
when I run the example code. This is with the latest flutter and libs. I copied the example code to a newly generated flutter app.
More info here: https://docs.flutter.io/flutter/material/Scaffold/of.html
This is fixing it: