wh_flutter_wave

Creator: coderz1093

Last updated:

0 purchases

wh_flutter_wave Image
wh_flutter_wave Images

Languages

Categories

Add to Cart

Description:

wh flutter wave

flutter_wave
Features #
一个仿微信音频波浪线动画

Getting started #
wh_flutter_wave: ^0.0.4
Usage #
class MyWidget extends StatefulWidget {
const MyWidget({super.key});

@override
State<MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
double vol = 0;

@override
void initState() {
super.initState();
var ticker = Ticker((elapsed) {
setState(() {
vol = Random().nextDouble() * 10;
});
});
ticker.start();
}

@override
Widget build(BuildContext context) {
return FlutterWave(
volume: vol,
);
}
}
copied to clipboard
Additional information #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.