VersionCheckButtonStyle constructor

const VersionCheckButtonStyle({
  1. EdgeInsets padding = const EdgeInsets.all(16),
  2. BoxDecoration? decoration,
  3. double borderRadius = 8.0,
  4. bool showIcon = true,
  5. IconData icon = Icons.info_outline,
  6. Color? iconColor,
  7. double iconSize = 24,
  8. Color? loadingColor,
  9. String title = 'Version',
  10. TextStyle? titleStyle,
  11. TextStyle? versionStyle,
  12. String hintText = 'Tap to check for updates',
  13. String checkingText = 'Checking...',
  14. TextStyle? hintStyle,
  15. Color? chevronColor,
})

Implementation

const VersionCheckButtonStyle({
  this.padding = const EdgeInsets.all(16),
  this.decoration,
  this.borderRadius = 8.0,
  this.showIcon = true,
  this.icon = Icons.info_outline,
  this.iconColor,
  this.iconSize = 24,
  this.loadingColor,
  this.title = 'Version',
  this.titleStyle,
  this.versionStyle,
  this.hintText = 'Tap to check for updates',
  this.checkingText = 'Checking...',
  this.hintStyle,
  this.chevronColor,
});