fit constant

PropDef<BoxFit> const fit

How the image fills the box (Flutter's BoxFit): cover, contain, fill, fitWidth...

Implementation

static const fit = PropDef<BoxFit>('fit', EnumCodec(BoxFit.values), BoxFit.cover);