Skip to content

Instantly share code, notes, and snippets.

@loic-hamdi
loic-hamdi / interactive_viewer_overlay.dart
Last active January 30, 2022 19:03
InteractiveViewerOverlay
import 'package:flutter/material.dart';
class InteractiveViewerOverlay extends StatefulWidget {
final Widget child;
final double maxScale;
const InteractiveViewerOverlay({
Key key,
@required this.child,
this.maxScale,