magic_the_gathering_flutter library
A library for helping render Magic: The Gathering cards and symbols as Flutter widgets.
See here for a full example.
Also re-exports mtg_symbology.
Classes
- MtgCard
- Represents a full Magic: The Gathering card. If the card has multiple faces, each of its faces is represented by an MtgCardFace instance in cardFaces.
- MtgCardFace
- Represents a single face of a Magic: The Gathering card. Most cards have a single face, but some have multiple faces such as Delver of Secrets.
- MtgSymbol
- Represents a single Magic: The Gathering symbol.
Enums
- Rarity
- Represents a Magic: The Gathering card rarity.
Constants
-
mtgSymbology
→ const Map<
String, MtgSymbol> - A Map representing all of the known Magic: The Gathering symbols. Symbols are based on the notation used in the game's Comprehensive Rules.