createWidget method

  1. @override
Widget createWidget(
  1. ToggleModel model,
  2. OnValueChanged? onValueChanged,
  3. DateBuilderMethod? dateBuilder,
  4. SaveBarBuilderMethod? savebarBuilder,
)
override

Implementation

@override
Widget createWidget(ToggleModel model, OnValueChanged? onValueChanged, DateBuilderMethod? dateBuilder, SaveBarBuilderMethod? savebarBuilder)  =>  Toggle(
    model : model,
    dateBuilder: dateBuilder,
    onValueChanged: onValueChanged);