SensitiveContentHost class

Host of the current content sensitivity for the widget tree that contains some number SensitiveContent widgets.

This is not ready for production.

Annotations

Properties

calculatedContentSensitivity ContentSensitivity?
Returns the current content sensitivity as tracked by _contentSensitivitySetting.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

instance SensitiveContentHost
SensitiveContentHost instance for the widget tree.
final

Static Methods

register(ContentSensitivity desiredSensitivity) Future<void>
Registers a SensitiveContent widget that will help determine the ContentSensitivity for the widget tree.
unregister(ContentSensitivity widgetSensitivity) Future<void>
Unregisters a SensitiveContent widget from the _ContentSensitivitySetting tracking the content sensitivity of the widget tree.