addLabel method

  1. @override
  2. @protected
void addLabel(
  1. ButtonState state
)
override

Implementation

@override
@protected
void addLabel(ButtonState state) {
  labelAlignContainer.child =
      labelsMap[state] ?? (isSelected ? defaultSelectedLabel : defaultLabel);
}