widget method

YYDialog widget(
  1. Widget child
)

Implementation

YYDialog widget(Widget child) {
  this.widgetList.add(child);
  return this;
}