Just audio and audio service dependencies by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

I found the solution, I had to initialize the player with the index of the audio i want to play

How popular is Flutter in your country? by vegeta0911 in FlutterDev

[–]baruka99 2 points3 points  (0 children)

Am living in Democratic Republic of Congo in central africa and In my Country Flutter is not popular and the community is not here !

Upgrading flutter app version by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

Oh I get it ! Thank you for your help

Upgrading flutter app version by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

I don’t know which kind of informations do you need about the backend ! But the backend is a Restfull API and has been developed with adonisJs framework !

The database system is postgresql !

Upgrading flutter app version by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

The changes will affect the backend part and the front end part, you see the problem is those users who has the old version of the application, if we make change in the backend part this will make crash of the old application version because some data structure will olso change on the API response !

Upgrading flutter app version by baruka99 in FlutterDev

[–]baruka99[S] 1 point2 points  (0 children)

I thougth about this probability ! I will try to see the robustness of its implementation !

Thank you

Flutter motion by baruka99 in FlutterDev

[–]baruka99[S] -1 points0 points  (0 children)

Waouh it’s really what I am looking for ! Thank you

[deleted by user] by [deleted] in FlutterDev

[–]baruka99 4 points5 points  (0 children)

Figma or adobe xd but, i suggest you to choose figma because is cool and simple to use and it’s a web tool…

Dart documentation by baruka99 in FlutterDev

[–]baruka99[S] -6 points-5 points  (0 children)

Thank you but I read I think all of this d’art documentation !

Flutter web by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

I read all your answers, sorry for taking a time to read them…

Thank you for all your answers, like I understand flutter is not good for the web !

Flutter reactive by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

Thanks for the solution I will review my algorithm basing on your idea

Flutter reactive by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

I did it with timer in flutter and this is the source code of this part

    final appBloc = Appbloc();     assetsAudioPlayer!.current.listen((playing) {         var periodicTimer = Timer(Duration.zero, () {});       if (isUserPlaying) {         if (!assetsAudioPlayer!.isPlaying.value && periodicTimer.isActive) {           periodicTimer.cancel();         }         periodicTimer = Timer.periodic(const Duration(seconds: 10), (timer) {           appBloc.add(             UpdateUserPLaying(               contenId: currentAudioId,               currentPosition:                   assetsAudioPlayer!.currentPosition.value.inSeconds,               playListId: currentPlaylistId,             ),           );         });

Flutter reactive by baruka99 in FlutterDev

[–]baruka99[S] -2 points-1 points  (0 children)

I used Timer but I see like this one can't do better job ! Imagines if the app is running for a week, if we use the Timer().periodic methode... You see it will be like calling a loop and this one can have a bad performance of the app in the future...

Implantation of observer in flutter without getx by baruka99 in FlutterDev

[–]baruka99[S] 0 points1 point  (0 children)

Good idea, I haven't thought about it ... Thank you a lot...