Skip to main content

GestureScaleUpdateCallback

Type Alias GestureScaleUpdateCallback 

Source
pub type GestureScaleUpdateCallback = Rc<dyn Fn(&mut App, ScaleUpdateDetails)>;
Expand description

The gesture recognizers and the details their callbacks carry, which a GestureDetector takes: Flutter’s package:flutter/gestures.dart, which its widget library imports rather than re-exports. Signature for when the pointers in contact with the screen have indicated a new focal point and/or scale.

Aliased Type§

pub struct GestureScaleUpdateCallback { /* private fields */ }