DeferredWidget constructor

DeferredWidget(
  1. LibraryLoader libraryLoader,
  2. DeferredWidgetBuilder createWidget, {
  3. Key? key,
  4. Widget? placeholder,
})

Implementation

DeferredWidget(this.libraryLoader, this.createWidget,
    {Key? key, Widget? placeholder})
    : placeholder = placeholder ?? Container(),
      super(key: key);