TourStep constructor

const TourStep({
  1. required GlobalKey<State<StatefulWidget>> key,
  2. required String title,
  3. required String description,
  4. Color backgroundColor = Colors.white,
  5. Duration duration = const Duration(seconds: 4),
  6. String? buttonLabel,
  7. bool isLast = false,
})

Implementation

const TourStep({
  required this.key,
  required this.title,
  required this.description,
  this.backgroundColor = Colors.white,
  this.duration = const Duration(seconds: 4),
  this.buttonLabel,
  this.isLast = false,
});