flutter_touch_scale 1.1.1+1
flutter_touch_scale: ^1.1.1+1 copied to clipboard
This Flutter package delivers clear visual feedback through scale animations on user touch interactions.
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter_touch_scale/flutter_touch_scale.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: TouchScale(
onPress: () => log("Pressed!"),
child: Text("Hello, World!"),
),
),
),
);
}
}