toFlutter method

  1. @override
BlendMode toFlutter(
  1. AnyWidgetContext context
)
override

Implementation

@override
BlendMode toFlutter(AnyWidgetContext context) {
  return map(
    clear: (_) => BlendMode.clear,
    color: (_) => BlendMode.color,
    colorBurn: (_) => BlendMode.colorBurn,
    colorDodge: (_) => BlendMode.colorDodge,
    darken: (_) => BlendMode.darken,
    difference: (_) => BlendMode.difference,
    dst: (_) => BlendMode.dst,
    dstATop: (_) => BlendMode.dstATop,
    dstIn: (_) => BlendMode.dstIn,
    dstOut: (_) => BlendMode.dstOut,
    dstOver: (_) => BlendMode.dstOver,
    exclusion: (_) => BlendMode.exclusion,
    hardLight: (_) => BlendMode.hardLight,
    hue: (_) => BlendMode.hue,
    lighten: (_) => BlendMode.lighten,
    luminosity: (_) => BlendMode.luminosity,
    modulate: (_) => BlendMode.modulate,
    multiply: (_) => BlendMode.multiply,
    overlay: (_) => BlendMode.overlay,
    plus: (_) => BlendMode.plus,
    saturation: (_) => BlendMode.saturation,
    screen: (_) => BlendMode.screen,
    softLight: (_) => BlendMode.softLight,
    src: (_) => BlendMode.src,
    srcATop: (_) => BlendMode.srcATop,
    srcIn: (_) => BlendMode.srcIn,
    srcOut: (_) => BlendMode.srcOut,
    srcOver: (_) => BlendMode.srcOver,
    xor: (_) => BlendMode.xor,
  );
}