PopupBanner constructor

const PopupBanner({
  1. Key? key,
  2. required PopupBannerConfig config,
  3. required Widget child,
  4. VoidCallback? afterClose,
  5. bool isPreview = false,
})

Implementation

const PopupBanner({
  Key? key,
  required this.config,
  required this.child,
  this.afterClose,
  this.isPreview = false,
}) : super(key: key);