preparedManaCost method

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

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.

Pass null to padding to avoid using any padding - otherwise the padding will default 1.5 on each horizontal side.

Implementation

List<Widget>? preparedManaCost({
  EdgeInsets? padding = const EdgeInsets.symmetric(horizontal: 1.5),
}) {
  return _preparedManaCost(manaCost, padding: padding);
}