TranslationConfiguration constructor

const TranslationConfiguration({
  1. Offset maxOffset = const Offset(maxDistance, maxDistance),
})

A set of values that define the translation effect's behavior.

Implementation

const TranslationConfiguration(
    {this.maxOffset = const Offset(maxDistance, maxDistance)});