getBtnSize method

double getBtnSize()

Returns the size factor for the button based on its size.

Implementation

double getBtnSize() => _sizeFactorBySize[size] ?? 16;