Skip to content
Türkçe
All snippets

WFormCheckbox example

A checkbox with Form validation, labels and hints.

  • WDiv
  • WFormCheckbox
preview
example_w_form_checkbox.dart
WDiv(
  className: "w-full p-4",
  child: WFormCheckbox(
    value: true,
    labelText: "Send me the good stuff",
    labelClassName: "text-lg text-[#cdd9e5]",
    className: "w-6 h-6 bg-[#22272e] border border-[#444c56] rounded checked:bg-[#539bf5]",
  ),
)