TernaryContainer constructor

TernaryContainer({
  1. Key? key,
  2. required Widget header,
  3. required Widget content,
  4. required Widget footer,
  5. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  6. MainAxisSize mainAxisSize = MainAxisSize.min,
  7. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  8. bool inDialog = false,
  9. Axis direction = Axis.vertical,
})

Implementation

TernaryContainer({
  Key? key,
  required this.header,
  required this.content,
  required this.footer,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.mainAxisSize = MainAxisSize.min,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.inDialog = false,
  this.direction = Axis.vertical,
});