shared_themes 0.2.0 shared_themes: ^0.2.0 copied to clipboard
A shared library for `BeWell-Consumer` and `SladeAdvantage` that is responsible for defining and providing theme/style guidelines
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add shared_themes
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
shared_themes: ^0.2.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:shared_themes/app_theme.dart';
import 'package:shared_themes/colors.dart';
import 'package:shared_themes/constants.dart';
import 'package:shared_themes/sil_themes.dart';
import 'package:shared_themes/spaces.dart';
import 'package:shared_themes/text_themes.dart';