pinch_scale 0.0.4
pinch_scale: ^0.0.4 copied to clipboard
Pinch to scale any double value for text / image size or what you want
import 'package:example/example_switcher.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SafeArea(
child: Padding(
padding: EdgeInsets.all(10),
child: ExampleSwitcher(),
),
)),
);
}
}