BackgroundWidget constructor

const BackgroundWidget({
  1. Key? key,
  2. required Widget body,
  3. List<Widget>? actions,
  4. bool hasPadding = false,
  5. Widget? leadingWidget,
  6. Widget? titleWidget,
  7. Widget? bottomNavigationBar,
  8. Widget? floatingActionButton,
  9. bool hasAppBar = true,
  10. Color backgroundColor = Pallet.white,
})

Implementation

const BackgroundWidget({
  Key? key,
  required this.body,
  this.actions,
  this.hasPadding = false,
  this.leadingWidget,
  this.titleWidget,
  this.bottomNavigationBar,
  this.floatingActionButton,
  this.hasAppBar = true,
  this.backgroundColor = Pallet.white,
}) : super(key: key);