useSensor property

bool useSensor
final

Default is true.
accelerometer-animated Foil

Optionally determine if this Foil is agnostic to accelerometer sensors data. In this case, it will be a simple static gradient mask.

That is unless this Foil is wrapped in a ancestor Roll which has a Crinkle that defines animation properties.

Those Crinkle animations can be applied regardless of the value of useSensor.

Implementation

final bool useSensor;