TPageWrapper constructor
const
TPageWrapper({
- Key? key,
- required Widget child,
- String? title,
- String? subTitle,
- String? imageUrl,
- String? description,
- VoidCallback? onBackPressed,
- List<
Widget> ? actions, - bool shrinkWrap = false,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
- EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
- 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,
});