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. bool shrinkWrap = false,
  10. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  11. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  12. 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.shrinkWrap = false,
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  this.contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
  this.backgroundColor,
});