Flutter ReceiverPort don't listen

Issue I’m using the flutter_downloader package to download files with my app. The progress notification is working nicely. but my ReceivePort is not listening to the progress. final ReceivePort port = ReceivePort(); @override void initState() { super.initState(); IsolateNameServer.registerPortWithName( port.sendPort, ‘downloader_sendport’);

Continue reading

dart Isolate listen don't triggered (or work)

Issue My class: import ‘dart:isolate’; import ‘dart:ui’; import ‘package:flutter_downloader/flutter_downloader.dart’; class SettingsPage extends StatefulWidget with WidgetsBindingObserver { SettingsPage({Key? key}) : super(key: key); @override State<SettingsPage> createState() => _SettingsPageState(); } class _SettingsPageState extends State<SettingsPage> { final ReceivePort _port = ReceivePort(); int uploadProgress =

Continue reading