I am trying to integrate FlutterFlow UI code into Flutter and I have copied the FlutterFlow UI code segment into Flutter (into main.dart). I followed the instructions for the integration.
I tried to issue the following command on Flutter terminal: flutter pub add flutterflow
The following message is displayed and I could not find a solution for the problem.
Note: collection is pinned to version 1.19.1 by flutter from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter from sdk depends on collection 1.19.1 and every version of flutterflow depends on collection 1.15.0, flutter from
sdk is incompatible with flutterflow.
So, because flutter_application_a depends on both flutter from sdk and flutterflow any, version solving failed.
Failed to update packages.