kCupertinoButtonPadding top-level constant

Map<CupertinoButtonSize, EdgeInsetsGeometry> const kCupertinoButtonPadding

The padding values for the different CupertinoButtonSizes.

Based on the iOS (17) Human Interface Guidelines.

Implementation

const Map<CupertinoButtonSize, EdgeInsetsGeometry> kCupertinoButtonPadding = <CupertinoButtonSize, EdgeInsetsGeometry>{
  CupertinoButtonSize.small: EdgeInsets.symmetric(
    vertical: 6,
    horizontal: 12,
  ),
  CupertinoButtonSize.medium: EdgeInsets.symmetric(
    vertical: 10,
    horizontal: 15,
  ),
  CupertinoButtonSize.large: EdgeInsets.symmetric(
    vertical: 16,
    horizontal: 20,
  ),
};