anchor.diff:  import '../../../onesignal/presentation/bloc/onesignal_subscription_bloc.dart';
   
   class PrivacyPage extends StatelessWidget {
  -  const PrivacyPage({Key key}) : super(key: key);
  +  final bool showConsentSwitch;
  +
  +  const PrivacyPage({
  +    Key key,
  +    this.showConsentSwitch = true,
  +  }) : super(key: key);
   
     static const routeName = '/privacy';
   
  
positive.code:             crossAxisAlignment: CrossAxisAlignment.start,
              children: <Widget>[
                const Padding(
                  padding: EdgeInsets.all(16.0),
                  child: Text(
                    'OneSignal Data Privacy',
                    style: TextStyle(
                      fontSize: 20,
                      fontWeight: FontWeight.bold,
                    ),
                  ),
                ),
                const Padding(
                  padding: EdgeInsets.symmetric(
                    horizontal: 16,
                  ),
                  child: _OneSignalDataPrivacyText(),
                ),
                BlocBuilder<OneSignalPrivacyBloc, OneSignalPrivacyState>(
                  builder: (context, state) {
                    return Padding(
                      padding: const EdgeInsets.only(top: 8),
                      child: SwitchListTile(
                        title: const Text(
                          'Consent to OneSignal data privacy',
                          style: TextStyle(
                            fontWeight: FontWeight.bold,
                          ),
                        ),
                        subtitle: BlocBuilder<OneSignalPrivacyBloc,
                            OneSignalPrivacyState>(
                          builder: (context, state) {
                            return RichText(
                              text: TextSpan(
                                children: [
                                  const TextSpan(
                                    text: 'Status: ',
                                    style: TextStyle(
                                      fontWeight: FontWeight.w300,
                                    ),
                                  ),
                                  if (state is OneSignalPrivacyConsentFailure)
                                    const TextSpan(
                                      text: 'Not Accepted X',
                                      style: TextStyle(
                                        fontWeight: FontWeight.w300,
                                        color: Colors.red,
                                      ),
                                    ),
                                  if (state is OneSignalPrivacyConsentSuccess)
                                    const TextSpan(
                                      text: 'Accepted ✓',
                                      style: TextStyle(
                                        fontWeight: FontWeight.w300,
                                        color: Colors.green,
                                      ),
                                    ),
                                ],
                              ),
                            );
                          },
                        ),
                        value: state is OneSignalPrivacyConsentSuccess
                            ? true
                            : false,
                        onChanged: (_) async {
                          if (state is OneSignalPrivacyConsentFailure) {
                            await _grantConsentFuture(oneSignalPrivacyBloc);
                            oneSignalSubscriptionBloc
                                .add(OneSignalSubscriptionCheck());
                            oneSignalHealthBloc.add(OneSignalHealthCheck());
                          }
                          if (state is OneSignalPrivacyConsentSuccess) {
                            oneSignalPrivacyBloc
                                .add(OneSignalPrivacyRevokeConsent());
                            oneSignalSubscriptionBloc
                                .add(OneSignalSubscriptionCheck());
                            oneSignalHealthBloc.add(OneSignalHealthCheck());
                          }
                        },
                      ),
                    );
                  },
                ),
              ],
            ),
          ],
  
negative.code: }
  
  class _OneSignalDataPrivacyText extends StatelessWidget {
    const _OneSignalDataPrivacyText({Key key}) : super(key: key);
  
    @override
    Widget build(BuildContext context) {
  