ImageStyle constructor

const ImageStyle({
  1. Radius? borderRadius,
  2. EdgeInsetsGeometry? padding,
  3. BoxFit? fit,
  4. double? maxWidth,
  5. double? maxHeight,
})

Creates a ImageStyle. Null fields defer to the theme, then to the default.

Implementation

const ImageStyle({
  this.borderRadius,
  this.padding,
  this.fit,
  this.maxWidth,
  this.maxHeight,
});