strapi-prjs / strapi_flutter_todo

3 stars 0 forks source link

Doesn't build with flutter 3.0.2 #1

Open troyatomic opened 2 years ago

troyatomic commented 2 years ago

Tried this example with the following and getting compile error.

Flutter 3.0.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision cd41fdd495 (2 weeks ago) • 2022-06-08 09:52:13 -0700 Engine • revision f15f824b57 Tools • Dart 2.17.3 • DevTools 2.12.2

Error:

../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/uuid_enhanced-3.0.2/lib/uuid.dart:9:7: Error: 'UnmodifiableUint8ListView' is restricted and can't be extended or implemented. class Uuid extends UnmodifiableUint8ListView {

I'm guessing I should use an older version of Flutter, but there's nothing in the README.md file that says what version this code worked for.

troyatomic commented 2 years ago

Tried with flutter 2.2.2 (since that was the most recent release around the date on the tutorial) and while I don't get the error mentioned above, it still doesn't build.

I now get this error:

FAILURE: Build failed with an exception.