TopAndBottomWidget constructor
TopAndBottomWidget({
- Key? key,
- required int pageIndex,
- required bool isRight,
- required Widget child,
- String? languageCode,
- @Deprecated('In versions after 2.2.5 this parameter will be removed. Please use juzName in TopBottomQuranStyle instead.') String? juzName,
- @Deprecated('In versions after 2.2.5 this parameter will be removed. Please use sajdaName in TopBottomQuranStyle instead.') String? sajdaName,
- @Deprecated('In versions after 2.2.5 this parameter will be removed. Please use topTitleChild in TopBottomQuranStyle instead.') Widget? topTitleChild,
- @Deprecated('In versions after 2.2.5 this parameter will be removed. Please use surahName in TopBottomQuranStyle instead.') String? surahName,
- bool? isSurah = false,
- int? surahNumber,
Implementation
TopAndBottomWidget({
super.key,
required this.pageIndex,
required this.isRight,
required this.child,
this.languageCode,
@Deprecated(
'In versions after 2.2.5 this parameter will be removed. Please use juzName in TopBottomQuranStyle instead.')
this.juzName,
@Deprecated(
'In versions after 2.2.5 this parameter will be removed. Please use sajdaName in TopBottomQuranStyle instead.')
this.sajdaName,
@Deprecated(
'In versions after 2.2.5 this parameter will be removed. Please use topTitleChild in TopBottomQuranStyle instead.')
this.topTitleChild,
@Deprecated(
'In versions after 2.2.5 this parameter will be removed. Please use surahName in TopBottomQuranStyle instead.')
this.surahName,
this.isSurah = false,
this.surahNumber,
});