OudsSmallListItemTrailingImage constructor

const OudsSmallListItemTrailingImage({
  1. required String asset,
  2. String? semanticsLabel,
  3. OudsListItemImageFormat format = OudsListItemImageFormat.square,
  4. bool rounded = false,
})

Creates a compact trailing image configuration from a local asset.

Implementation

const OudsSmallListItemTrailingImage({
  required String this.asset,
  this.semanticsLabel,
  this.format = OudsListItemImageFormat.square,
  this.rounded = false,
}) : provider = null,
     placeholder = null;