regularBoldOrNull method

T? regularBoldOrNull(
  1. bool selected
)

Implementation

T? regularBoldOrNull(bool selected) {
  if (selected) return boldOrNull;
  return regularOrNull;
}