FontFamilySelectWidget constructor

const FontFamilySelectWidget({
  1. Key? key,
  2. required Duration animationsDuration,
  3. required PageController pageController,
  4. required int selectedFamilyIndex,
  5. required dynamic onPageChanged(
    1. int index
    ),
  6. required dynamic onTap(
    1. int index
    ),
})

Creates an instance of the widget.

All parameters are required and must not be null.

Implementation

const FontFamilySelectWidget({
  super.key,
  required this.animationsDuration,
  required this.pageController,
  required this.selectedFamilyIndex,
  required this.onPageChanged,
  required this.onTap,
});