m_checkbox

A extended CheckBox based on the CheckBox.

Getting Started

Add dependency

dependencies:
	m_checkbox: ^lastest_version

Example

Constructor

MCheckbox

ParametertypeDefaultDescription
valuebool,nullOriginal attribute
tristatebool,nullfalseOriginal attribute
onChangedvoid onChanged(bool change)Original attribute
mouseCursorMouseCursorOriginal attribute
materialTapTargetSizeMaterialTapTargetSizeOriginal attribute
visualDensityVisualDensityOriginal attribute
focusNodeFocusNodeOriginal attribute
autofocusboolOriginal attribute
styleMCheckboxStyle

MCheckboxStyle

ParametertypeDefaultDescription
activeColorColorThemeData.toggleableActiveColor
inactiveColorColorThemeData.unselectedWidgetColor
checkColorColorThemeData.toggleableActiveColor
focusColorColorThemeData.focusColor
hoverColorColorThemeData.hoverColor
hasBorderbooltrue
fillbooltrue

Libraries

m_checkbox