magic_theme 0.0.3 copy "magic_theme: ^0.0.3" to clipboard
magic_theme: ^0.0.3 copied to clipboard

A lightweight, reusable style-bundle for Flutter — define a MagicTheme once and apply its pieces (BoxDecoration, TextStyle, etc.) wherever you need them.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add magic_theme

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

dependencies:
  magic_theme: ^0.0.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:magic_theme/magic_theme.dart';
3
likes
160
points
98
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight, reusable style-bundle for Flutter — define a MagicTheme once and apply its pieces (BoxDecoration, TextStyle, etc.) wherever you need them.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on magic_theme