AssetThumb constructor

const AssetThumb({
  1. Key? key,
  2. required Asset asset,
  3. required int width,
  4. required int height,
  5. int quality = 100,
  6. Widget spinner = const Center(child: SizedBox(width: 50, height: 50, child: CircularProgressIndicator())),
})

Implementation

const AssetThumb({
  Key? key,
  required this.asset,
  required this.width,
  required this.height,
  this.quality = 100,
  this.spinner = const Center(
    child: SizedBox(
      width: 50,
      height: 50,
      child: CircularProgressIndicator(),
    ),
  ),
}) : super(key: key);