ImageModerationFilterStyle class

ImageModerationFilterStyle is a data class that has styling-related properties to customize the appearance of ImageModerationFilter

Constructors

ImageModerationFilterStyle({TextStyle? warningTextStyle, String? warningImageUrl, String? warningImagePackageName, Color? warningImageColor, Color? filterColor})

Properties

filterColor Color?
filterColor background color of the image filter
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warningImageColor Color?
warningImageColor color of the image shown on the filter if image has sensitive/graphic content
final
warningImagePackageName String?
warningImagePackageName package of the image shown on the filter if image has sensitive/graphic content
final
warningImageUrl String?
warningImageUrl image shown on the filter if image has sensitive/graphic content
final
warningTextStyle TextStyle?
warningTextStyle styling for text shown if image has sensitive/graphic content
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