CookieConsentStyle class
Constructors
- CookieConsentStyle.new({Color? backgroundColor, TextStyle? titleStyle, TextStyle? messageStyle, ButtonStyle? acceptButtonStyle, ButtonStyle? declineButtonStyle, ButtonStyle? settingsButtonStyle, EdgeInsets contentPadding = const EdgeInsets.all(16), double spacingBetweenElements = 8})
-
const
Properties
- acceptButtonStyle → ButtonStyle?
-
final
- backgroundColor → Color?
-
final
- contentPadding → EdgeInsets
-
final
- declineButtonStyle → ButtonStyle?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageStyle → TextStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settingsButtonStyle → ButtonStyle?
-
final
- spacingBetweenElements → double
-
final
- titleStyle → TextStyle?
-
final
Methods
-
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
Static Properties
- defaultAcceptButtonStyle → ButtonStyle
-
no setter
- defaultDeclineButtonStyle → ButtonStyle
-
no setter
- defaultSettingsButtonStyle → ButtonStyle
-
no setter
Constants
- defaultMessageStyle → const TextStyle
- defaultTitleStyle → const TextStyle