after_layout 1.2.0 copy "after_layout: ^1.2.0" to clipboard
after_layout: ^1.2.0 copied to clipboard

Execute code after the first layout of your widget has been performed, i.e. after the first frame has been displayed.

Changelog #

1.2.0 #

  • Add support for Flutter 3.0.0
  • Allow afterFirstLayout to be overridden with FutureOr.

1.1.1 #

  • Only callback if mounted.

1.1.0 #

  • Add Null Safety.
  • Switch to endOfFrame callback.

1.0.7+2 #

  • Updated README.

1.0.7+1 #

  • Updated authors and locked in Dart 2.

1.0.5 - 1.0.7 #

  • Updated to support Dart 2 and Super Mixins - Thanks to Soundbytes

1.0.4 #

  • Added Flutter Community Logo.

1.0.3 #

1.0.2 #

  • Renamed AfterLayout class to AfterLayoutMixin class and improved docs.

1.0.1 #

  • Updated project using analyze and format and added example to improve pub score

1.0.0 #

  • Initial version release
  • Release ready, very basic functionality
  • Contains tests
733
likes
160
points
282k
downloads

Publisher

verified publisherfluttercommunity.dev

Weekly Downloads

Execute code after the first layout of your widget has been performed, i.e. after the first frame has been displayed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on after_layout