RCKImageStyleConfig constructor

const RCKImageStyleConfig({
  1. BoxFit fit = BoxFit.contain,
  2. double? maxWidth = 200,
  3. double? maxHeight = 200,
  4. double scale = 1.0,
  5. double borderRadius = 6.0,
})

构造函数

Implementation

const RCKImageStyleConfig({
  this.fit = BoxFit.contain,
  this.maxWidth = 200,
  this.maxHeight = 200,
  this.scale = 1.0,
  this.borderRadius = 6.0,
});