Topsheet constructor
const
Topsheet({
- Key? key,
- bool? isBackButtonEnabled,
- String? greetingIconPath,
- String? greetingText,
- required String headerText,
- String? subheaderText,
- bool preserveHeaderLineBreaks = true,
- Color? backgroundColor,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 56, horizontal: 24.0),
- Widget? customContent,
Implementation
const Topsheet({
super.key,
this.isBackButtonEnabled,
this.greetingIconPath,
this.greetingText,
required this.headerText,
this.subheaderText,
this.preserveHeaderLineBreaks = true,
this.backgroundColor,
this.padding = const EdgeInsets.symmetric(vertical: 56, horizontal: 24.0),
this.customContent,
});