DropdownTransitionBuilder typedef

DropdownTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, double axisAlignment, Widget child)

Signature for a fully custom overlay transition.

animation is the curved 0→1 animation (forward = opening), axisAlignment is 1.0 when the overlay opens below the field and -1.0 when it opens above, and child is the overlay content to wrap.

Implementation

typedef DropdownTransitionBuilder = Widget Function(
  BuildContext context,
  Animation<double> animation,
  double axisAlignment,
  Widget child,
);