How do I access the context for the Provider in the initState
I keep getting the error
flutter: The following assertion was thrown building Builder: fl
Use Simon's AfterLayout package https://pub.dev/packages/after_layout and call it in the function you need to implement. It will be called after Build() has been run
AfterLayout
Build()