FlashCard constructor

const FlashCard({
  1. required Widget frontWidget,
  2. required Widget backWidget,
  3. Key? key,
  4. Duration duration = const Duration(milliseconds: 500),
  5. double height = 200,
  6. double width = 200,
})

constructor: Default height 200dp, width 200dp, duration 500 milliseconds

Implementation

const FlashCard(
    {required this.frontWidget,
    required this.backWidget,
    Key? key,
    this.duration = const Duration(milliseconds: 500),
    this.height = 200,
    this.width = 200})
    : super(key: key);