DraftBanner constructor

const DraftBanner({
  1. Key? key,
  2. required String label,
  3. required VoidCallback onReload,
  4. bool loading = false,
  5. int warnings = 0,
  6. VoidCallback? onShowWarnings,
})

Implementation

const DraftBanner({
  super.key,
  required this.label,
  required this.onReload,
  this.loading = false,
  this.warnings = 0,
  this.onShowWarnings,
});