AttExplainerContent class

Copy for the ATT priming screen shown before Apple's system tracking prompt (iOS, client-driven ATT mode).

Immutable and const-constructible with sensible English defaults — override the fields (or copyWith) to localize.

Constructors

AttExplainerContent({String title = 'Allow tracking?', String description = 'On the next screen Apple will ask if you allow tracking. ' 'Allowing it helps us show ads that are more relevant to you.', String footnote = "Your choice won't affect the number of ads you see.", String continueLabel = 'Got it'})
Creates ATT primer copy; defaults are generic English strings.
const

Properties

continueLabel String
Label of the button that proceeds to the system prompt.
final
description String
Body text explaining what the Apple prompt will ask.
final
footnote String
Footnote clarifying that ad quantity is unaffected by the choice.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Headline.
final

Methods

copyWith({String? title, String? description, String? footnote, String? continueLabel}) AttExplainerContent
Returns a copy with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited