You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to display/show both star rating and comment box at once, but I'm only managing to do one or the other why ?
Also remindDays and remindLaunches are not working for me it's only showing the first time no matter how many time I restart app not sure what I'm doing wrong
` return RateMyAppBuilder(
rateMyApp: RateMyApp(
googlePlayIdentifier: '',
appStoreIdentifier: '',
minDays: 0,
minLaunches: 1,
remindDays: 0,
remindLaunches: 1,
),
onInitialized: (context, rateMyApp) {
if(mounted) {
setState(() => this.rateMyApp = rateMyApp);
}
if (rateMyApp.shouldOpenDialog) {
rateMyApp.showStarRateDialog(
context,
//contentBuilder: (context, _) => buildComment(context),
title: 'Rate this app',
message:
'If you like this app, please take a little bit of your time to review it !',
actionsBuilder: actionsBuilder,
ignoreNativeDialog: Platform.isAndroid,
dialogStyle: const DialogStyle( // Custom dialog styles.
titleAlign: TextAlign.center,
messageAlign: TextAlign.center,
messagePadding: EdgeInsets.only(bottom: 20),
),
starRatingOptions: const StarRatingOptions(initialRating: 4), // Custom star bar rating options.
onDismissed: () => rateMyApp.callEvent(RateMyAppEventType.laterButtonPressed), // Called when the user dismissed the dialog (either by taping outside or by pressing the "back" button).
);
}
},
builder: (context) => rateMyApp == null ? Center(child: CircularProgressIndicator()) : widget.builder(rateMyApp),
);`
Widget buildComment(BuildContext context) => TextFormField(
autofocus: true,
onFieldSubmitted: (_) => Navigator.of(context).pop(),
maxLines: 3,
decoration: InputDecoration(
hintText: 'Write Comment...', border: OutlineInputBorder()),
onChanged: (comment) => setState(() => this.comment = comment),
);
The text was updated successfully, but these errors were encountered:
I'm trying to display/show both star rating and comment box at once, but I'm only managing to do one or the other why ?
Also
remindDays
andremindLaunches
are not working for me it's only showing the first time no matter how many time I restart app not sure what I'm doing wrongThe text was updated successfully, but these errors were encountered: