SettingsSection constructor

SettingsSection({
  1. Key? key,
  2. String? header,
  3. Map<String, dynamic>? headerInfo,
  4. String? footer,
  5. Map<String, dynamic>? footerInfo,
  6. required List<SettingsCell> cells,
})

The SettingsSection manages the header, footer and all cells for a particular section It handles adding any required widgets around each of the elements and renders them appropriately

  • header title of this section to appear in the header
  • headerInfo extraInfo for the header where you can pass additional info through to your subclasses to be used however you need
  • footer text to appear in the footer of this section
  • footerInfo extraInfo for the footer where you can pass additional info through to your subclasses to be used however you need
  • cells list of SettingsCell subclasses that will make up this section

Implementation

SettingsSection({Key? key, this.header, this.headerInfo, this.footer, this.footerInfo, required this.cells}) : super(key: key);