abebe 1.0.0
abebe: ^1.0.0 copied to clipboard
A Flutter package to dynamically adjust animation frame rates based on typing speed. Initial release supports Lottie assets, with future support for additional asset types.
import 'package:flutter/material.dart';
import 'package:abebe/abebe.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final textController = TextEditingController();
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('Abebe Example')),
body: Center(
child: Abebe(
assetPath: 'assets/animation.json',
textController: textController,
speedMultiplier: 2,
),
),
),
);
}
}