FormCast.widget constructor

FormCast.widget({
  1. required Widget child,
})

Cast to a widget

Implementation

FormCast.widget({
  required Widget child,
}) {
  type = "widget";
  metaData = {};
  metaData['child'] = child;
}