SettingsSwitchTileAndroid constructor

const SettingsSwitchTileAndroid({
  1. Key? key,
  2. required String title,
  3. required Function onChanged,
  4. required bool value,
  5. String subTitle = "",
  6. Icon? icon,
  7. Color? activeColor,
  8. MaterialStateProperty<Color?>? thumbColor,
  9. MaterialStateProperty<Color?>? trackColor,
})

Implementation

const SettingsSwitchTileAndroid(
    {Key? key,
    required this.title,
    required this.onChanged,
    required this.value,
    this.subTitle = "",
    this.icon,
    this.activeColor,
    this.thumbColor,
    this.trackColor})
    : super(key: key);