MorphConfig constructor

const MorphConfig({
  1. Duration duration = const Duration(milliseconds: 400),
  2. Curve curve = Curves.easeInOutCubic,
  3. bool morphSize = true,
  4. bool morphDecoration = true,
  5. bool clipDuringMorph = true,
  6. Alignment alignment = Alignment.center,
})

Implementation

const MorphConfig({
  this.duration = const Duration(milliseconds: 400),
  this.curve = Curves.easeInOutCubic,
  this.morphSize = true,
  this.morphDecoration = true,
  this.clipDuringMorph = true,
  this.alignment = Alignment.center,
});