circular_check_box icon indicating copy to clipboard operation
circular_check_box copied to clipboard

Requesting new release

Open Florian-Schoenherr opened this issue 3 years ago • 8 comments

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!

Florian-Schoenherr avatar May 04 '21 11:05 Florian-Schoenherr

add code in your pubspec.yaml

circular_check_box:
    git:
      url: git://github.com/mashnoon33/circular_check_box.git

rodgav avatar May 07 '21 18:05 rodgav

This package is discontinued, unfortunately.

proninyaroslav avatar May 16 '21 15:05 proninyaroslav

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 avatar May 19 '21 20:05 Jethro87

@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)

Florian-Schoenherr avatar May 20 '21 07:05 Florian-Schoenherr

@Jethro87 I use it with Transform.scale(scale: 1.3).

proninyaroslav avatar May 20 '21 07:05 proninyaroslav

@Florian-Schoenherr I believe this is since Flutter 2.1 (currently 2.2 is in stable).

@proninyaroslav Interesting. Mind posting a short code sample?

Jethro87 avatar May 20 '21 14:05 Jethro87

Transform.scale(
  scale: 1.3,
  child: Checkbox(
    value: true,
    onChanged: (value) {},
    shape: const CircleBorder(),
    materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
  ),
),

proninyaroslav avatar May 20 '21 14:05 proninyaroslav

@proninyaroslav That works nicely, thanks for sharing.

Jethro87 avatar May 20 '21 15:05 Jethro87