morphing_button 0.1.3
morphing_button: ^0.1.3 copied to clipboard
A Flutter package providing morphing button widgets with smooth directional arrow animations that respond to cursor position.
import 'package:flutter/material.dart';
import 'playground_page.dart';
void main() {
runApp(const MorphingButtonApp());
}
class MorphingButtonApp extends StatelessWidget {
const MorphingButtonApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Morphing Buttons',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const PlaygroundPage(),
);
}
}