regularSolidOrNull method

T? regularSolidOrNull(
  1. bool selected
)

Implementation

T? regularSolidOrNull(bool selected) {
  if (selected) return solidOrNull;
  return regularOrNull;
}