When I try to update the flow state via context.flow().update it gives an error:
Error: The method 'flow' isn't defined for the class 'BuildContext'.
'BuildContext' is from 'package:flutter/src/widgets/framework.dart'
('../../../flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'flow'.
When I try to update the flow state via context.flow().update it gives an error:
Error: The method 'flow' isn't defined for the class 'BuildContext'. 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../../flutter/packages/flutter/lib/src/widgets/framework.dart'). Try correcting the name to the name of an existing method, or defining a method named 'flow'.