CardBuilder typedef
CardBuilder =
SegmentFlipCard Function(BuildContext context, bool leftCard, double angle)
build an segment card
leftCard
: this is left or right card when flippingangle
: the angle (in degree) of card when flipping
Implementation
typedef CardBuilder = SegmentFlipCard Function(
BuildContext context, bool leftCard, double angle);