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,
@loic-hamdi
loic-hamdi / main.dart
Last active June 22, 2024 01:26
Validation Button Timer
import 'dart:math';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();