MtgCardPreparedOracleText extension

Grants the preparedOracleText method to MtgCard instances.

on
  • MtgCard

Methods

preparedOracleText() TextSpan?

Available on MtgCard, provided by the MtgCardPreparedOracleText extension

Returns a visual representation of the oracleText using SVGs wrapped in a WidgetSpan for valid MTG symbols. Returns null if oracleText is null. If it doesn't contain any valid MTG symbols, will return a TextSpan with the original oracleText.