mashnoon33 / circular_check_box Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
Setting the active color to Colors.white
cause the Widget to display a white filled circle.
Maybe, in this case, the tic mark could become transparent.
'package:circular_check_box/circular_check_box.dart': Failed assertion: line 58 pos 14: 'tristate || value != null': is not true.
It seems like the package is already null safe and in this repo, the sdk version is already set to 2.12.0, so it should just be a matter of releasing a new version.
Thank you for considering!
I couldn't fix this issue. Could you check please.
/C:/Users/xxxxxx/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:338:39: Error: Type 'RenderToggleable' not found.
class _RenderCircularCheckBox extends RenderToggleable {
^^^^^^^^^^^^^^^^
In some cases, default drawing is too big.
Compiler message:
../flutter-sdk/.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;
^
../flutter-sdk/.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){
^^^^^^^^^^^^^^
../flutter-sdk/.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>{
^^^^^^
../flutter-sdk/.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),
^^^^^^^^^^^^^^
../flutter-sdk/.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),
^
../flutter-sdk/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})
^^^^^^^^^^^^^^
../flutter-sdk/.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'.
Package is no longer supported?
When hovering on a circle checkbox on web I receive the following error:
The following NoSuchMethodError was thrown during paint():
'<Unexpected Null Value>'
method not found
Receiver: null
Arguments: []
The relevant error-causing widget was
CircularCheckBox
lib/components/circle_checkbox.dart:38
When the exception was thrown, this was the stack
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49 throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 78:3 throwNullValueError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 490:39 _notNull
packages/flutter/src/material/toggleable.dart 500:26 paintRadialReaction
packages/circular_check_box/circular_check_box.dart 448:5 paint
...
The following RenderObject was being processed when the exception was fired: _RenderCircularCheckBox#56932
RenderObject: _RenderCircularCheckBox#56932
parentData: <none> (can use size)
constraints: BoxConstraints(w=20.0, h=20.0)
size: Size(20.0, 20.0)
additionalConstraints: BoxConstraints(w=32.0, h=32.0)
value: unchecked
════════════════════════════════════════════════════════════════════════════════
iphone 12 pro simulator running 14.4 seems to work correctly, and the logic seems to be working correctly on web. My values are being correctly toggled. Just seems to be erroring on the hover animation on web.
[✓] Flutter (Channel beta, 1.26.0-17.8.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.53.2)
[✓] Connected device (2 available)```
Need asap please
Hello. I would be a cool feature to have color options for the checkbox. Including a transparency option. :)
$ flutter pub upgrade --null-safety --dry-run
null-safety compatible versions do not exist for:
Different from the normal check box, when the mouse is on top of the circularcheckbox, there isn't a change in the cursor to show the user there is a button in that place.
I think it's possible to manually add it by wrapping your widget with a gesture detector (haven't tried), but will be nice to have this functionality by default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.