CardBuilder typedef

CardBuilder = SegmentFlipCard Function(BuildContext context, bool leftCard, double angle)

build an segment card

  • leftCard: this is left or right card when flipping
  • angle: the angle (in degree) of card when flipping

Implementation

typedef CardBuilder = SegmentFlipCard Function(
    BuildContext context, bool leftCard, double angle);