DictionaryResultPage constructor

const DictionaryResultPage(
  1. {required DictionarySearchResult result,
  2. required dynamic onSearch(
    1. String
    ),
  3. required dynamic onStash(
    1. String
    ),
  4. required dynamic onShare(
    1. String
    ),
  5. Color? cardColor,
  6. ScrollController? scrollController,
  7. double opacity = 1,
  8. bool updateHistory = true,
  9. bool spaceBeforeFirstResult = true,
  10. Key? key}
)

Create the widget of a DictionarySearchResult.

Implementation

const DictionaryResultPage({
  required this.result,
  required this.onSearch,
  required this.onStash,
  required this.onShare,
  this.cardColor,
  this.scrollController,
  this.opacity = 1,
  this.updateHistory = true,
  this.spaceBeforeFirstResult = true,
  super.key,
});