main_widgets 0.0.1
main_widgets: ^0.0.1 copied to clipboard
The MainScreen widget efficiently manages loading, empty, and data display states, with built-in refresh functionality. It simplifies state handling and reduces boilerplate code in Flutter apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add main_widgetsWith Flutter:
$ flutter pub add main_widgetsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
main_widgets: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:main_widgets/main_widgets.dart';