InputCheckBox class

The InputCheckBox widget (HTML's input tag with type = 'checkbox').

Inheritance

Constructors

InputCheckBox({Key? key, String? name, String? value, bool? checked, bool? required, bool? disabled, String? id, String? title, String? style, String? classAttribute, int? tabIndex, bool? draggable, bool? contentEditable, bool? hidden, String? onClickAttribute, String? innerText, List<Widget>? children, EventCallback? onChange, EventCallback? onClick, Map<String, String>? additionalAttributes})
const

Properties

accept String?
Defines the file types the file input should accept.
finalinherited
additionalAttributes Map<String, String>?
Any additional attributes.
finalinherited
checked bool?
Whether control is checked.
finalinherited
children List<Widget>?
Children tags.
finalinherited
classAttribute String?
The classes attribute specifies one or more class names for an dom node.
finalinherited
contentEditable bool?
The contentEditable attribute specifies whether the content of an dom node is editable or not.
finalinherited
correspondingTag DomTagType
Corresponding HTML tag to use to render this widget
no setterinherited
disabled bool?
Whether control is disabled.
finalinherited
draggable bool?
The draggable attribute specifies whether an dom node is draggable or not.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hidden bool?
The hidden attribute is a boolean attribute. When present, it specifies that an dom node is not yet, or is no longer, relevant.
finalinherited
id String?
ID of dom node.
finalinherited
innerText String?
Element's inner text.
finalinherited
key Key?
Keys help Rad identify which widgets have changed, are added, or are removed when a widget has multiple sibling widgets.
finalinherited
maxLength int?
Max length of input.
finalinherited
minLength int?
Min length of input.
finalinherited
multiple bool?
Allows the user to select more than one file.
finalinherited
name String?
Name of the input. It's very common to use same name as key for inputs.
finalinherited
onChange EventCallback?
On change event listener.
finalinherited
onClick EventCallback?
On click event listener.
finalinherited
onClickAttribute String?
onClick raw attribute. for inlined JS callback: onclick="
finalinherited
onInput EventCallback?
On input event listener.
finalinherited
onKeyDown EventCallback?
On key down event listener.
finalinherited
onKeyPress EventCallback?
On key press event listener.
finalinherited
onKeyUp EventCallback?
On key up event listener.
finalinherited
pattern String?
Match pattern for input.
finalinherited
placeholder String?
Custom placeholder.
finalinherited
readOnly bool?
Whether control is read only.
finalinherited
required bool?
Whether control is required.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style String?
The style attribute for inline CSS.
finalinherited
tabIndex int?
The tabindex attribute specifies the tab order of an dom node (when the "tab" button is used for navigating).
finalinherited
title String?
The title attribute specifies extra information about an dom node.
finalinherited
type InputType?
Type of input tag.
finalinherited
value String?
Initial value of control.
finalinherited
widgetCaptureEventListeners Map<DomEventType, EventCallback?>
Events that this widget is listening to in capturing phase.
no setterinherited
widgetEventListeners Map<DomEventType, EventCallback?>
Events that this widget is listening to in bubbling phase.
no setterinherited
widgetType String
Type of widget.
no setterinherited

Methods

createRenderElement(RenderElement parent) RenderElement
Create element for current widget.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldUpdateWidget(covariant Input oldWidget) bool
Whether to update current widget.
inherited
shouldUpdateWidgetChildren(Widget oldWidget, bool shouldUpdateWidget) bool
Whether to update current widget's children.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited