constraints property
BoxConstraints
get
constraints
Implementation
BoxConstraints get constraints {
switch (this) {
case FastIconButtonSpec.small:
return const BoxConstraints(minWidth: 32, minHeight: 32);
case FastIconButtonSpec.medium:
return const BoxConstraints(minWidth: 40, minHeight: 40);
case FastIconButtonSpec.large:
return const BoxConstraints(minWidth: 48, minHeight: 48);
}
}