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

outdated

Adds a didInitState() method to StatelessWidget where you can safely access InheritedWidgets.

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.0

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';
32
likes
0
pub points
87%
popularity

Publisher

verified publishermartinrybak.com

Adds a didInitState() method to StatelessWidget where you can safely access InheritedWidgets.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on after_init