loader 1.0.0 copy "loader: ^1.0.0" to clipboard
loader: ^1.0.0 copied to clipboard

Run asynchronous code before building your widget. Loader will rebuild your widget after the loading is complete.

[1.0.0] #

  • null-safety

[0.4.0] #

  • ability to skip calling load in initState by setting skipLoad to true

[0.3.4] #

  • fixed a bug with calling setState when the widget is not mounted

[0.3.3] #

  • fixed a bug with dart's type system throwing an exception when the loader widget had a generic type

[0.3.0] #

  • load() is now called after initState and before didChangeDependencies
  • you can now use inherited widgets in load

[0.2.0] #

  • added StatelessLoadingMixin

[0.1.0] #

  • better readme
  • added an example

[0.0.1] #

  • added LoadingMixin
  • added Loader
14
likes
130
pub points
62%
popularity

Publisher

verified publisheraligator.ir

Run asynchronous code before building your widget. Loader will rebuild your widget after the loading is complete.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on loader