TouchScaleResolver.percent constructor

const TouchScaleResolver.percent()

Creates a resolver that always returns the given scale factor.

Values below 1.0 shrink the widget, and values above 1.0 expand it.

Implementation

const factory TouchScaleResolver.percent() = PercentTouchScaleResolver;