DarlightButton constructor

const DarlightButton({
  1. Key? key,
  2. Darlights type = Darlights.DarlightThree,
  3. required dynamic onChange(
    1. ThemeMode
    ),
  4. DarlightOption? options,
  5. double? height,
  6. Duration? animationDuration,
})

Implementation

const DarlightButton({
  Key? key,
  this.type = Darlights.DarlightThree,
  required this.onChange,
  this.options,
  this.height,
  this.animationDuration,
}) : super(key: key);