AppRatingDialog constructor

const AppRatingDialog({
  1. Key? key,
  2. String title = 'Enjoying Nash UI?',
  3. String subtitle = 'Tap a star to rate your experience on the store.',
  4. String submitLabel = 'Submit Rating',
  5. String cancelLabel = 'Maybe Later',
  6. ValueChanged<int>? onSubmit,
  7. Color starColor = Colors.amber,
})

Implementation

const AppRatingDialog({
  super.key,
  this.title = 'Enjoying Nash UI?',
  this.subtitle = 'Tap a star to rate your experience on the store.',
  this.submitLabel = 'Submit Rating',
  this.cancelLabel = 'Maybe Later',
  this.onSubmit,
  this.starColor = Colors.amber,
});