toFlutter method
Implementation
@override
BoxFit toFlutter(AnyWidgetContext config) {
return map(
contain: (_) => BoxFit.contain,
cover: (_) => BoxFit.cover,
fill: (_) => BoxFit.fill,
fitHeight: (_) => BoxFit.fitHeight,
fitWidth: (_) => BoxFit.fitWidth,
none: (_) => BoxFit.none,
scaleDown: (_) => BoxFit.scaleDown,
);
}