Worker package disfunction when importing postgresql package


I’m trying to use the Worker package and the PostgreSQL package.

I’m not sure why but if I run the example in
After changing nothing but adding an import statement: import 'package:postgresql/postgresql.dart';, The example stops working (the task’s execute is not called).

Dart VM version: 1.17.0-dev.4.1 (Thu May 19 11:21:39 2016) on “macos_x64”.


name: fibFuturesConcu
version: 0.0.1
description: A simple console application.
  worker: any


Apparently it does not happen with the stable version of Dart (1.16.0).


The problem is gone when using Dart Stable 1.16.

Answered By – Alon Amir

Answer Checked By – Willingham (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *