flutter常见问题
- 新版 flutter,ancestorWidgetOfExactType 方法过时
老方法:
1 | static T of<T extends BlocBase>(BuildContext context) { |
新方法:
1 | static T of<T extends BlocBase>(BuildContext context) { |
1 | static T of<T extends BlocBase>(BuildContext context) { |
新方法:
1 | static T of<T extends BlocBase>(BuildContext context) { |