getDefaultDimensions method
Get component-specific default dimensions. Returns a record with (width, height, paddingH, paddingV).
Implementation
@override
({double width, double height, double paddingH, double paddingV})
getDefaultDimensions() {
// Checkbox uses size for both width/height, paddingH/paddingV unused
return (width: 40.0, height: 40.0, paddingH: 0.0, paddingV: 0.0);
}