kCupertinoButtonPadding top-level constant
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,
),
};