MtgCardPreparedManaCost extension

Grants the preparedManaCost method to MtgCard instances.

on
  • MtgCard

Methods

preparedManaCost({EdgeInsets? padding = const EdgeInsets.symmetric(horizontal: 1.5)}) List<Widget>?

Available on MtgCard, provided by the MtgCardPreparedManaCost extension

Returns a visual representation of the manaCost using SVGs for valid MTG symbols. Returns null if manaCost is null or it doesn't contain any valid MTG symbols.