FastImageAsset constructor

const FastImageAsset({
  1. Key? key,
  2. required String path,
  3. double? height,
  4. double? width,
  5. BoxFit? fit,
})

Implementation

const FastImageAsset({
  super.key,
  required this.path,
  this.height,
  this.width,
  BoxFit? fit,
}) : fit = fit ?? BoxFit.contain;