PlayingCardString constructor

const PlayingCardString({
  1. Key? key,
  2. required String suit,
  3. required String value,
  4. double width = 100.0,
  5. double height = 150.0,
  6. bool showBack = false,
})

Implementation

const PlayingCardString({
  Key? key,
  required this.suit,
  required this.value,
  this.width = 100.0,
  this.height = 150.0,
  this.showBack = false,
}) : super(key: key);