UpdateBannerStyle constructor
const
UpdateBannerStyle({
- Color? backgroundColor,
- double elevation = 4.0,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
- bool showIcon = true,
- IconData icon = Icons.system_update,
- Color? iconColor,
- double iconSize = 28,
- String title = 'Update Available',
- TextStyle? titleStyle,
- TextStyle? messageStyle,
- String messageBuilder()?,
- String updateButtonText = 'UPDATE',
- Color? buttonColor,
- Color? dismissButtonColor,
Implementation
const UpdateBannerStyle({
this.backgroundColor,
this.elevation = 4.0,
this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
this.showIcon = true,
this.icon = Icons.system_update,
this.iconColor,
this.iconSize = 28,
this.title = 'Update Available',
this.titleStyle,
this.messageStyle,
this.messageBuilder,
this.updateButtonText = 'UPDATE',
this.buttonColor,
this.dismissButtonColor,
});