theme_json_converter 0.3.0 theme_json_converter: ^0.3.0 copied to clipboard
Package that implements JsonConverters from `json_serializable` to material theme classes
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add theme_json_converter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
theme_json_converter: ^0.3.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:theme_json_converter/theme_json_converter.dart';