DeferredWidget constructor

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

Implementation

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