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() {
return (width: 300.0, height: 30.0, paddingH: 0.0, paddingV: 0.0);
}