AyahLongClickDialog constructor
const
AyahLongClickDialog({
- Key? key,
- AyahModel? ayah,
- AyahFontsModel? ayahFonts,
- required Offset position,
- required BuildContext context,
- required int index,
- required int pageIndex,
Creates a dialog displayed on long click of an Ayah to provide options like bookmarking and copying text.
This widget shows a dialog at a specified position with options to bookmark the Ayah in different colors or copy the Ayah text to the clipboard. The appearance and behavior are influenced by the state of QuranCtrl.
Implementation
const AyahLongClickDialog({
super.key,
this.ayah,
this.ayahFonts,
required this.position,
required this.context,
required this.index,
required this.pageIndex,
});