circular_check_box
circular_check_box copied to clipboard
Requesting new release
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!
add code in your pubspec.yaml
circular_check_box:
git:
url: git://github.com/mashnoon33/circular_check_box.git
This package is discontinued, unfortunately.
For those looking for an alternative, you can now pass a shape
to the Material Checkbox
. Like so:
final Widget control = Checkbox(
shape: CircleBorder(),
value: value,
onChanged: onChanged,
activeColor: activeColor,
checkColor: checkColor,
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
autofocus: autofocus,
tristate: tristate,
);
It's not as nicely padded as this package's checkbox, but it's definitely an improvement.
@Jethro87 Thank you! Is this new? since which version? edit: 2.2.0 (https://flutter.dev/docs/development/tools/sdk/release-notes/release-notes-2.2.0)
@Jethro87
I use it with Transform.scale(scale: 1.3)
.
@Florian-Schoenherr I believe this is since Flutter 2.1 (currently 2.2 is in stable).
@proninyaroslav Interesting. Mind posting a short code sample?
Transform.scale(
scale: 1.3,
child: Checkbox(
value: true,
onChanged: (value) {},
shape: const CircleBorder(),
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
),
),
@proninyaroslav That works nicely, thanks for sharing.