SwitchButtonText constructor

const SwitchButtonText({
  1. Key? key,
  2. ValueChanged<int?>? onChange,
  3. int page = 0,
  4. List<String>? listNameButton,
  5. bool isWeb = false,
  6. TextStyle? style,
  7. Color? backgroundColor,
  8. Color? thumbColor,
})

Implementation

const SwitchButtonText({
  Key? key,
  this.onChange,
  this.page = 0,
  this.listNameButton,
  this.isWeb = false,
  this.style,
  this.backgroundColor,
  this.thumbColor,
}) : super(key: key);