MDCCheckbox class
A material design checkbox. To listen for changes, use the native event.
Javascript: mdc.checkbox.MDCCheckbox
.
- Inheritance
-
- Object
- MDCComponent
- MDCCheckbox
- Implemented types
Constructors
- MDCCheckbox(Element? root, [MDCFoundation? foundation, dynamic args])
Properties
- checked ↔ bool?
-
getter/setter pair
- disabled ↔ bool?
-
getter/setter pair
- foundation → MDCFoundation
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- indeterminate ↔ bool?
-
getter/setter pair
- js → CheckboxComponent
-
The underlying Javascript component.
no setteroverride
- ripple → MDCRipple
-
no setteroverride
- root → Element
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String?
-
getter/setter pair
Methods
-
destroy(
) → void -
Releases resources and removes any listeners.
inherited
-
emit(
String type, dynamic data, [bool shouldBubble = false]) → void -
inherited
-
listen(
String type, EventListener handler, {bool captureThis = false}) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unlisten(
String type, EventListener handler, {bool captureThis = false}) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
attachTo(
Element root) → MDCCheckbox