Giter Club home page Giter Club logo

Comments (4)

abin-saju avatar abin-saju commented on July 28, 2024 1

Forcing v1.0.1 resolves the issue for now

from circular_check_box.

MartinSchultz avatar MartinSchultz commented on July 28, 2024

Thanks, fixing on 1.0.1 solved it for me too.

from circular_check_box.

kylermintah avatar kylermintah commented on July 28, 2024

Thanks! 1.0.1 fixed for me too

from circular_check_box.

jpmehedi avatar jpmehedi commented on July 28, 2024

Launching lib\main.dart on roarV95 in debug mode...
Running Gradle task 'assembleDebug'...

Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:168:13: Error: Expected 0 type arguments.
Map<Type, Action> _actionMap;
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:178:23: Error: Type 'ActivateIntent' not found.
void _actionHandler(ActivateIntent intent){
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:173:25: Error: Expected 0 type arguments.
_actionMap = <Type, Action>{
^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:174:38: Error: 'ActivateIntent' isn't a type.
ActivateIntent: CallbackAction(onInvoke: _actionHandler),
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:174:53: Error: Too few positional arguments: 1 required, 0 given.
ActivateIntent: CallbackAction(onInvoke: _actionHandler),
^
/C:/src/flutter/packages/flutter/lib/src/widgets/actions.dart:128:9: Context: Found this candidate, but the arguments don't match.
const CallbackAction(LocalKey intentKey, {@required this.onInvoke})
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:174:7: Error: The getter 'ActivateIntent' isn't defined for the class '_CircularCheckBoxState'.

  • '_CircularCheckBoxState' is from 'package:circular_check_box/circular_check_box.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'ActivateIntent'.
    ActivateIntent: CallbackAction(onInvoke: _actionHandler),
    ^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:173:40: Error: A value of type 'Map<Type, Action>' can't be assigned to a variable of type 'Map<Type, invalid-type>'.
  • 'Map' is from 'dart:core'.
  • 'Type' is from 'dart:core'.
  • 'Action' is from 'package:flutter/src/widgets/actions.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/actions.dart').
    _actionMap = <Type, Action>{
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:178:23: Error: 'ActivateIntent' isn't a type.
    void _actionHandler(ActivateIntent intent){
    ^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:226:16: Error: The argument type 'Map<Type, invalid-type>' can't be assigned to the parameter type 'Map<LocalKey, Action Function()>'.
  • 'Map' is from 'dart:core'.
  • 'Type' is from 'dart:core'.
  • 'LocalKey' is from 'package:flutter/src/foundation/key.dart' ('/C:/src/flutter/packages/flutter/lib/src/foundation/key.dart').
  • 'Action' is from 'package:flutter/src/widgets/actions.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/actions.dart').
    actions: _actionMap,
    ^

Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:168:13: Error: Expected 0 type arguments.
Map<Type, Action> _actionMap;
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:178:23: Error: Type 'ActivateIntent' not found.
void _actionHandler(ActivateIntent intent){
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:173:25: Error: Expected 0 type arguments.
_actionMap = <Type, Action>{
^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:174:38: Error: 'ActivateIntent' isn't a type.
ActivateIntent: CallbackAction(onInvoke: _actionHandler),
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:174:53: Error: Too few positional arguments: 1 required, 0 given.
ActivateIntent: CallbackAction(onInvoke: _actionHandler),
^
/C:/src/flutter/packages/flutter/lib/src/widgets/actions.dart:128:9: Context: Found this candidate, but the arguments don't match.
const CallbackAction(LocalKey intentKey, {@required this.onInvoke})
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:174:7: Error: The getter 'ActivateIntent' isn't defined for the class '_CircularCheckBoxState'.

  • '_CircularCheckBoxState' is from 'package:circular_check_box/circular_check_box.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'ActivateIntent'.
    ActivateIntent: CallbackAction(onInvoke: _actionHandler),
    ^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:173:40: Error: A value of type 'Map<Type, Action>' can't be assigned to a variable of type 'Map<Type, invalid-type>'.
  • 'Map' is from 'dart:core'.
  • 'Type' is from 'dart:core'.
  • 'Action' is from 'package:flutter/src/widgets/actions.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/actions.dart').
    _actionMap = <Type, Action>{
    ^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:178:23: Error: 'ActivateIntent' isn't a type.
    void _actionHandler(ActivateIntent intent){
    ^^^^^^^^^^^^^^
    /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:226:16: Error: The argument type 'Map<Type, invalid-type>' can't be assigned to the parameter type 'Map<LocalKey, Action Function()>'.
  • 'Map' is from 'dart:core'.
  • 'Type' is from 'dart:core'.
  • 'LocalKey' is from 'package:flutter/src/foundation/key.dart' ('/C:/src/flutter/packages/flutter/lib/src/foundation/key.dart').
  • 'Action' is from 'package:flutter/src/widgets/actions.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/actions.dart').
    actions: _actionMap,
    ^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 24s
Exception: Gradle task assembleDebug failed with exit code 1

from circular_check_box.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.