calseeFaceInset function
Padding that keeps content inside the rounded corners of a key or
surface whose shorter side is shortSide.
Implementation
EdgeInsets calseeFaceInset(
BuildContext context,
double shortSide, {
double min = 12,
}) {
final radius = shortSide * CalcTheme.of(context).keyCornerFraction;
return EdgeInsets.all(math.max(min, radius * 0.32));
}