ChangelogStyle constructor

const ChangelogStyle({
  1. Color? cardColor,
  2. TextStyle? versionStyle,
  3. TextStyle? dateStyle,
  4. TextStyle? bulletStyle,
  5. Color? badgeColor,
  6. TextStyle? badgeTextStyle,
  7. double? spacing,
  8. EdgeInsetsGeometry? cardPadding,
  9. String badgeText = 'NEW',
  10. String showOlderLabel = 'Show older',
  11. String showFewerLabel = 'Show fewer',
  12. TextStyle? categoryStyle,
})

Creates a style; unset fields fall back to the ambient ThemeData.

Implementation

const ChangelogStyle({
  this.cardColor,
  this.versionStyle,
  this.dateStyle,
  this.bulletStyle,
  this.badgeColor,
  this.badgeTextStyle,
  this.spacing,
  this.cardPadding,
  this.badgeText = 'NEW',
  this.showOlderLabel = 'Show older',
  this.showFewerLabel = 'Show fewer',
  this.categoryStyle,
});