flutter_async_widgets 0.0.1
flutter_async_widgets: ^0.0.1 copied to clipboard

Flutter async convenience widgets

flutter_async_widgets #

style: lint

Convenience widgets for working with asynchronicity

AsyncBuilder #

class ExampleWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return AsyncBuilder.single<String>(
      Future.delayed(const Duration(seconds: 3), () => 'String from the future'),
      onData: (context, data) => Center(child: Text(data)),
    );
  }
}
1
likes
110
pub points
0%
popularity

Publisher

devnico.me

Flutter async convenience widgets

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_async_widgets