empty_widget 0.0.1-dev.3 empty_widget: ^0.0.1-dev.3 copied to clipboard
Custom_Empty widget is developed to show on custom empty widget when there is no data available i.e in place of empty list
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add empty_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
empty_widget: ^0.0.1-dev.3
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:empty_widget/empty_widget.dart';