alignment method

  1. @override
Future<void> alignment()
override

A haptic feedback pattern to be used in response to the alignment of an object the user is dragging around. For example, this pattern of feedback could be used in a drawing app when the user drags a shape into alignment with another shape. Other scenarios where this type of feedback could be used might include scaling an object to fit within specific dimensions, positioning an object at a preferred location, or reaching the beginning/minimum or end/maximum of something, such as a track view in an audio/video app.

Implementation

@override
Future<void> alignment() async {
  return methodChannel.invokeMethod('alignment');
}