Skip to content

Commit

Permalink
dart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alnitak committed Sep 6, 2024
1 parent e5e4f9c commit b8c710c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/lib/audio_data/data_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ class WavePainter extends CustomPainter {
@override
void paint(Canvas canvas, Size size) {
final barWidth = size.width / 256;
final paint = Paint()..strokeWidth = barWidth * 0.8
..color = Colors.yellowAccent;
final paint = Paint()
..strokeWidth = barWidth * 0.8
..color = Colors.yellowAccent;

for (var i = 0; i < 256; i++) {
late final double waveHeight;
Expand Down

0 comments on commit b8c710c

Please sign in to comment.