Noodle Image viewer Alternate Image viewer

// Automatic FlutterFlow imports
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/custom_code/widgets/index.dart'; // Imports other custom widgets
import '/custom_code/actions/index.dart'; // Imports custom actions
import '/flutter_flow/custom_functions.dart'; // Imports custom functions
import 'package:flutter/material.dart';
// Begin custom widget code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!

import 'package:noodle_image/noodle_image.dart';

class NoodleImageViewer extends StatefulWidget {
  const NoodleImageViewer({
    super.key,
    this.width,
    this.height,
    required this.base64Image,
  });

  final double? width;
  final double? height;
  final String base64Image;

  @override
  State<NoodleImageViewer> createState() => _NoodleImageViewerState();
}

class _NoodleImageViewerState extends State<NoodleImageViewer> {
  @override
  Widget build(BuildContext context) {
    return NoodleImage(
      widget.base64Image,
    );
  }
}



I struggled to find an alternative to default image viewer that can show base64 images directly. That's when I found this. Easy to Install alternative. You guys should check it out.





5