NPButton constructor

const NPButton({
  1. Key? key,
  2. bool isActive = true,
  3. double? width,
  4. double? height,
  5. Color? defaultActiveColor,
  6. Color? defaultDisableColor,
  7. Color? highlightColor,
  8. Color? colorText = Colors.white,
  9. required String title,
  10. required VoidCallback onPressed,
})

Implementation

const NPButton(
    {Key? key,
    this.isActive = true,
    this.width,
    this.height,
    this.defaultActiveColor,
    this.defaultDisableColor,
    this.highlightColor,
    this.colorText = Colors.white,
    required this.title,
    required this.onPressed})
    : super(key: key);