Comments (4)
Forcing v1.0.1 resolves the issue for now
from circular_check_box.
Thanks, fixing on 1.0.1 solved it for me too.
from circular_check_box.
Thanks! 1.0.1 fixed for me too
from circular_check_box.
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)
- Color options HOT 1
- Missing mouse change on hovering the checkbox HOT 3
- 'package:circular_check_box/circular_check_box.dart': Failed assertion: line 58 pos 14: 'tristate || value != null': is not true.
- Migrate the package to null safety HOT 1
- flutter version 2.1 cant render object HOT 1
- Null Safety Migration HOT 2
- When I long press the button in the selected state, it will report an error
- NoSuchMethodError was thrown during paint()
- pub.dev: package is discontinued HOT 2
- Requesting new release HOT 8
- white active color HOT 1
- RenderToggable not found HOT 2
- any way to change height and width? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circular_check_box.