Section constructor

const Section({
  1. Widget? title,
  2. Widget? subtitle,
  3. String? titleText,
  4. String? subtitleText,
  5. Widget? trailing,
  6. List<Widget> children = const <Widget>[],
  7. bool card = false,
  8. bool showDivider = false,
  9. double gap = 16,
  10. Key? key,
})

Implementation

const Section({
  this.title,
  this.subtitle,
  this.titleText,
  this.subtitleText,
  this.trailing,
  this.children = const <Widget>[],
  this.card = false,
  this.showDivider = false,
  this.gap = 16,
  super.key,
});