after_init library

Mixins

AfterInitMixin<T extends StatefulWidget>
This mixin adds a didInitState lifecycle method to a StatefulWidget State object. From there you can safely access BuildContext.inheritFromWidgetOfExactType.