empty_widget 0.0.1-dev.2 empty_widget: ^0.0.1-dev.2 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
Usage #
1. Add library to your pubspec.yaml #
dependencies:
empty_widget: ^0.0.1-dev.1 # such as version, you need use the latest version of pub.
2. Import library in dart file #
import 'package:empty_widget.dart';
3. Use of EmptyListWidget #
EmptyListWidget(
/// set toast style, optional
title:'Add title here',
subTitle:'Add Subtitle here',
image:'Give image path here'
);