after_init 0.1.2 copy "after_init: ^0.1.2" to clipboard
after_init: ^0.1.2 copied to clipboard

outdated

Adds a didInitState() lifecycle method to stateful widgets where you can safely access inherited widgets.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add after_init

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  after_init: ^0.1.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:after_init/after_init.dart';
33
likes
30
pub points
83%
popularity

Publisher

verified publishermartinrybak.com

Adds a didInitState() lifecycle method to stateful widgets where you can safely access inherited widgets.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on after_init