UpdateBannerStyle constructor

const UpdateBannerStyle({
  1. Color? backgroundColor,
  2. double elevation = 4.0,
  3. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
  4. bool showIcon = true,
  5. IconData icon = Icons.system_update,
  6. Color? iconColor,
  7. double iconSize = 28,
  8. String title = 'Update Available',
  9. TextStyle? titleStyle,
  10. TextStyle? messageStyle,
  11. String messageBuilder(
    1. VersionInfo
    )?,
  12. String updateButtonText = 'UPDATE',
  13. Color? buttonColor,
  14. 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,
});