DictionaryTermPage constructor

const DictionaryTermPage(
  1. {required DictionaryHeading heading,
  2. required dynamic onSearch(
    1. String
    ),
  3. required dynamic onStash(
    1. String
    ),
  4. required dynamic onShare(
    1. String
    ),
  5. required Map<Dictionary, ExpandableController> expandableControllers,
  6. required Map<String, bool> dictionaryNamesByHidden,
  7. required Map<String, int> dictionaryNamesByOrder,
  8. required AnkiMapping lastSelectedMapping,
  9. Color? cardColor,
  10. double opacity = 1,
  11. Widget? footerWidget,
  12. Key? key}
)

Create the widget for a dictionary word.

Implementation

const DictionaryTermPage({
  required this.heading,
  required this.onSearch,
  required this.onStash,
  required this.onShare,
  required this.expandableControllers,
  required this.dictionaryNamesByHidden,
  required this.dictionaryNamesByOrder,
  required this.lastSelectedMapping,
  this.cardColor,
  this.opacity = 1,
  this.footerWidget,
  super.key,
});