contentPadding method

EdgeInsetsGeometry contentPadding()

The padding of the label/content matches the size of the type

Implementation

EdgeInsetsGeometry contentPadding() {
  switch (this) {
    case small:
      return const EdgeInsets.symmetric(vertical: 1, horizontal: 6);
    case large:
      return const EdgeInsets.symmetric(vertical: 5, horizontal: 6);
  }
}