getDefaultDimensions method

  1. @override
({double height, double paddingH, double paddingV, double width}) getDefaultDimensions()
override

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: 160.0, height: 56.0, paddingH: 24.0, paddingV: 12.0);
}