JxCheckbox class

A checkbox with its label and an optional description.

Constructors

JxCheckbox({required String id, required String label, String? description, String? error, String? name, String? value, bool checked = false, bool required = false, bool disabled = false, ValueChanged<bool>? onChange, String? classes, Key? key})
const

Properties

checked → bool
final
classes → String?
final
description → String?
final
disabled → bool
final
error → String?
Marks the checkbox invalid and shows the message under it.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
label → String
final
name → String?
final
onChange → ValueChanged<bool>?
final
required → bool
Native required, with a visual marker after the label.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String?
final

Methods

build(BuildContext context) → Component
Describes the part of the user interface represented by this component.
createElement() → Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant Component newComponent) → bool
Implement this method to determine whether a rebuild can be skipped.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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