Skip to content

mashnoon33/circular_check_box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circular Check Box

Pub

A modified version of the existing checkbox with the shape of a circle instead of a rounded rectangle!

Installing

Add this to your package's pubspec.yaml file.

dependencies:
   circular_check_box: ^x.y.z

Now in your Dart code you can use:

import import 'package:circular_check_box/circular_check_box.dart';

Usage

To use CircularCheckBox widget simply include it in your build method like this:

CircularCheckBox(
    value: this.circularSelected,
    onChanged: (value) {
        this.setState(() {
            this.circularSelected = value;
        });
    },
),

The CircularCheckBox can be customized with many properties, including:

  • tristate - the circular checkbox will have three states: unselected, selected with a check and selected with a dash
  • checkColor - change the color of the check icon
  • activeColor - change the color of the selected circular checkbox

Null Safety

This package is null safe ready, so it can be used with the new dart's Sound Null Safety.

License

Watch the License file here

Changelog

Refer to the Changelog to get all the release notes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •