TPageWrapper constructor

const TPageWrapper({
  1. Key? key,
  2. required Widget child,
  3. String? title,
  4. String? subTitle,
  5. String? imageUrl,
  6. String? description,
  7. VoidCallback? onBackPressed,
  8. List<Widget>? actions,
  9. List<TKeyValue>? itemInfo,
  10. bool itemInfoGridInline = true,
  11. bool shrinkWrap = false,
  12. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  13. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  14. Color? backgroundColor,
})

Creates a page wrapper.

Implementation

const TPageWrapper({
  super.key,
  required this.child,
  this.title,
  this.subTitle,
  this.imageUrl,
  this.description,
  this.onBackPressed,
  this.actions,
  this.itemInfo,
  this.itemInfoGridInline = true,
  this.shrinkWrap = false,
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  this.contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  this.backgroundColor,
});