Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.5 KB

checkboxes.md

File metadata and controls

58 lines (41 loc) · 1.5 KB
layout title description
detail
Checkboxes
Checkbox selection control allows the user to select options.

Use checkboxes to:

  • Select one or more options from a list
  • Present a list containing sub-selections
  • Turn an item on or off in a desktop environment

Page Summary


Specifications references

Accessibility

Please follow accessibility criteria for development

Checkboxes support content labeling for accessibility and are readable by most screen readers, such as TalkBack and Voice Over. Text rendered in check boxes is automatically provided to accessibility services. Additional content labels are usually unnecessary.

Implementation

Checkbox Checkbox dark

Flutter implementation

In your screen you can use CheckboxListTitle or Checkbox :

return CheckboxListTile(
	value: true,
	title: Text("Enabled"),
	enabled: true,
	onChanged: (value) {
 		setState(() {});
	},
)

Component specific tokens

Soon available