scryfall_api_symbols 1.0.1
scryfall_api_symbols: ^1.0.1 copied to clipboard
Enhance the scryfall_api package with the ability to easily display the MTG symbols as Flutter widgets.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add scryfall_api_symbolsWith Flutter:
$ flutter pub add scryfall_api_symbolsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
scryfall_api_symbols: ^1.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:scryfall_api_symbols/extensions/prepared_mana_cost.dart';
import 'package:scryfall_api_symbols/extensions/prepared_oracle_text.dart';
import 'package:scryfall_api_symbols/magic_the_gathering_flutter.dart';
import 'package:scryfall_api_symbols/models/mtg_symbology.dart';