previousAndNextButtons static method 
    
      
Widget
previousAndNextButtons(
 - int index, 
- dynamic lastIndex
) 
    
    
  Implementation
  static Widget previousAndNextButtons(int index, lastIndex) {
  return Padding(
    padding: const EdgeInsets.symmetric(horizontal: 20),
    child: Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        GestureDetector(
          onTap: index == 0 ? null : () => tutorialCoachMark.previous(),
          child: Text(index == 0 ? '' : 'Previous'),
        ),
        GestureDetector(
          onTap: index == lastIndex ? null : () => tutorialCoachMark.next(),
          child: Text(index == lastIndex ? '' : 'Next'),
        ),
      ],
    ),
  );
}