znjameswu / flutter_math

Math rendering and editing in pure Flutter.
https://znjameswu.github.io/flutter_math_demo/
Apache License 2.0
123 stars 52 forks source link

/flutter_math-0.2.1/lib/src/widgets/selection/overlay.dart:302:46: Error: Too few positional arguments: 8 required, 7 given. child: selectionControls.buildToolbar( ^ #37

Open JohnGalt1717 opened 3 years ago

JohnGalt1717 commented 3 years ago

I'm getting this on compile.

This is my environment definition:

environment: sdk: ">=2.12.0-0 <3.0.0"

What am I doing wrong?

MuratovArthur commented 3 years ago

I have the same error =(

ghost commented 3 years ago

Me too on for flutter beta

doble-d commented 3 years ago

Same just upgraded to Flutter 2 stable channel

walsha2 commented 3 years ago

Same issue. Here is the full error message from flutter build ios

./flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math0.2.1/lib/src/widgets/selection/overlay.dart:302:46
: Error: Too few positional arguments: 8 required, 7 given.
    child: selectionControls.buildToolbar(

@JohnGalt1717 can you please fix the title of this issue to something more appropriate and descriptive? The current title is just the error message.

walsha2 commented 3 years ago

This package is not being maintained any longer, it seems.

Please use this fork on Pub.dev instead:

https://pub.dev/packages/flutter_math_fork

This specific fork can be found here on Github:

https://github.com/simpleclub-extended/flutter_math