kCupertinoButtonMinSize top-level constant

Map<CupertinoButtonSize, double> const kCupertinoButtonMinSize

The minimum size of a CupertinoButton based on the CupertinoButtonSize.

Based on the iOS (17) Human Interface Guidelines.

Implementation

const Map<CupertinoButtonSize, double> kCupertinoButtonMinSize = <CupertinoButtonSize, double>{
  CupertinoButtonSize.small: 28,
  CupertinoButtonSize.medium: 32,
  CupertinoButtonSize.large: 44,
};