glidefx 0.0.6
glidefx: ^0.0.6 copied to clipboard
A Flutter package for smooth ripple and breathing effects for scroll and drag interactions.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:glidefx/glidefx.dart';
void main() => runApp(const DemoApp());
class DemoApp extends StatelessWidget {
const DemoApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text("GlideFX Demo")),
body: Column(
children: [
Expanded(
child: RippleOverlay(
mode: RippleMode.breathing,
color: Colors.deepPurple,
maxSize: 40,
child: ListView.builder(
itemCount: 30,
itemBuilder: (_, i) => ListTile(title: Text("Border Drag Mode ${i+1}")),
),
),
),
Divider(),
Expanded(
child: RippleOverlay(
mode: RippleMode.breathing,
color: Colors.deepPurple,
maxSize: 40,
child: ListView.builder(
itemCount: 15,
itemBuilder: (_, i) => ListTile(title: Text("Breathing Mode ${i+1}")),
),
),
),
],
),
),
);
}
}