pbouttier

Results 22 comments of pbouttier

Same problem here, my code : `AudioCache audioCache = new AudioCache(prefix: 'assets/audio/', respectSilence: widget.settings.respectSilence); File audiofile = await audioCache.load('alarm.mp3'); AudioPlayer advancedPlayer = AudioPlayer(); final result = await advancedPlayer.earpieceOrSpeakersToggle(); if (Platform.isIOS)...

You could go with [https://pub.dartlang.org/packages/flutter_slidable](url) instead of ReorderableListView. I have the same problem, and i switch to this, it work perfectly now.

Oh sorry i give you the wrong link ! I use flutter_list_drag_and_drop : [https://github.com/Norbert515/flutter_list_drag_and_drop](url) instead of ReorderableListView. An working example : ``` import 'package:flutter/material.dart'; import 'package:flutter_slidable/flutter_slidable.dart'; import 'package:flutter_list_drag_and_drop/drag_and_drop_list.dart'; List items...

Hi `ancestorStateOfType `is deprecated, simply replace it with `findAncestorStateOfType` like this https://stackoverflow.com/questions/59448102/ancestorstateoftype-is-deprecated-use-findancestorstateoftype-instead

Hi. The solution : add ` if(!child.debugDisposed)` in local_hero_layer.dart before `markNeedsPaint();` ``` void _onAnimationStatusChanged(AnimationStatus status) { if (status == AnimationStatus.completed || status == AnimationStatus.dismissed) { if(!child.debugDisposed) markNeedsPaint(); } } ```

This solution works for me in flutter 2.5.3, with only this fix. My usage : hero between two listview childrens. Maybe in other cases, lattest stable this is different.

It does not work, if the current volume if 0, no sounds are played. If the volume is low, and i want it to act like a alarm, the sound...

Try https://pub.dev/packages/flutter_svg_provider I had the same problem, displaying up to 50 svg simultaneously, during animations, ... and this package solved the problem

@marcoberetta96 did you find a solution ? I have the same problem

Same things here, on 3.0.12 // 3.1.4 the sound is reduced until the app his killed, on Android. It's working in 3.0.11. Thanks in advance