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

A common used classes for internal projects

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add diz_flutter_core

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  diz_flutter_core: ^1.0.0

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:diz_flutter_core/core/components/global_bus.dart';
import 'package:diz_flutter_core/core/components/local_storage.dart';
import 'package:diz_flutter_core/core/components/screen_utils.dart';
import 'package:diz_flutter_core/diz_core.dart';