FlickController constructor
const
FlickController(
- Widget uiChild,
- bool useCache,
- GlobalKey<
State< viewKey, {StatefulWidget> > - Key? key,
- GlobalKey<
State< ? boundKey,StatefulWidget> > - Offset? constraintsMin,
- Offset? constraintsMax,
- Offset? flexibilityMin,
- Offset? flexibilityMax,
- double customBoundWidth = 0,
- double customBoundHeight = 0,
- double sensitivity = 0.05,
- MoveCallback? onMove,
- DragCallback? onDragStart,
- DragCallback? onDragUpdate,
- DragCallback? onDragEnd,
- FlickCallback? onFlick,
Implementation
const FlickController(
this.uiChild,
this.useCache,
this.viewKey, {
Key? key,
this.boundKey,
this.constraintsMin,
this.constraintsMax,
this.flexibilityMin,
this.flexibilityMax,
this.customBoundWidth: 0,
this.customBoundHeight: 0,
this.sensitivity: 0.05,
this.onMove,
this.onDragStart,
this.onDragUpdate,
this.onDragEnd,
this.onFlick,
}) : super(key: key);