fromMemory static method

Widget fromMemory(
  1. Uint8List bytes, {
  2. double radius = 0.0,
  3. double? height,
  4. double? width,
  5. BoxFit? fit,
  6. double scale = 1.0,
})

Implementation

static Widget fromMemory(Uint8List bytes,
    {double radius: 0.0,
    double? height,
    double? width,
    BoxFit? fit,
    double scale: 1.0}) {
  var widget = Image.memory(
    bytes,
    height: height,
    width: width,
    fit: fit,
    scale: scale,
  );
  return _setItInContainer(_addRadius(widget, radius), width, height);
}