DuoRatingDialog constructor
const
DuoRatingDialog({
- Key? key,
- required Text title,
- Text messageOne = const Text('Message One'),
- Text messageTwo = const Text('Message Two'),
- Color starColor = Colors.amber,
- double starSize = 40,
- bool force = false,
- bool showCloseButton = true,
- double initialRatingOne = 0.0,
- double initialRatingTwo = 0.0,
- Icon ratingicon = const Icon(Icons.flutter_dash, size: 70),
- required String submitButtonText,
- required TextStyle submitButtonTextStyle,
- required dynamic onSubmitted(),
- Function? onCancelled,
Implementation
const DuoRatingDialog(
{Key? key,
required this.title,
this.messageOne = const Text('Message One'),
this.messageTwo = const Text('Message Two'),
this.starColor = Colors.amber,
this.starSize = 40,
this.force = false,
this.showCloseButton = true,
this.initialRatingOne = 0.0,
this.initialRatingTwo = 0.0,
this.ratingicon = const Icon(
Icons.flutter_dash,
size: 70,
),
required this.submitButtonText,
required this.submitButtonTextStyle,
required this.onSubmitted,
this.onCancelled})
: super(key: key);