build static method

List<Widget> build()

Returns the Widgets of this SwitchesSection.

Implementation

static List<Widget> build() {
  return [
    Headline(
      headline: 'SwitchField',
      child: ObxValue((value) {
        return SwitchField(
          text: 'Label',
          value: value.value,
          onChanged: (b) => value.value = b,
        );
      }, false.obs),
    ),
  ];
}