checkbox static method

Widget checkbox({
  1. required String name,
  2. required Widget builder(
    1. BuildContext,
    2. bool
    ),
  3. bool? defaultValue,
  4. Key? key,
})

Implementation

static Widget checkbox(
        {required String name,
        required Widget Function(BuildContext, bool) builder,
        bool? defaultValue,
        Key? key}) =>
    _BoolWidget(
        name: name, builder: builder, defaultValue: defaultValue, key: key);