Skip to content

Compiler error - Container backgroundCursorColor property unknown  #13

Description

@exilonX

I'm using code_input with flutter:

Flutter 1.0.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision 5391447fae (3 months ago) • 2018-11-29 19:41:26 -0800 Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

After including the package and try to build I get this error:
( I just copied the example code into my app) If I comment the backgroundCursorColor property it doesn't crash.

Compiler message:
file:///C:/instal/flutter/.pub-cache/hosted/pub.dartlang.org/code_input-1.0.1/lib/code_input.dart:162:13: Error: No named parameter with the name 'backgroundCursorColor'.
backgroundCursorColor: Colors.black,
^^^^^^^^^^^^^^^^^^^^^
file:///C:/instal/flutter/packages/flutter/lib/src/widgets/editable_text.dart:1: Context: Found this candidate, but the arguments don't match.
Compiler failed on D:\projects\flow_me\lib\main.dart
*********************************************************
WARNING: This version of url_launcher will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
*********************************************************
Finished with error: Gradle task assembleDebug failed with exit code 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions