NextButton constructor

const NextButton({
  1. Key? key,
  2. Widget? leading,
  3. Widget itemBuilder(
    1. BuildContext context,
    2. bool isHovered,
    3. Color? color
    )?,
  4. bool enabled = true,
  5. Widget? trailing,
  6. TextStyle? style,
  7. Widget? child,
  8. void onPressed()?,
  9. Color? color,
  10. Color? outlineColor,
  11. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 15, vertical: 12),
  12. EdgeInsets margin = const EdgeInsets.all(4),
  13. NextButtonVariant variant = NextButtonVariant.filled,
  14. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(6)),
  15. Duration? animationDuration,
  16. Duration? hoverDuration,
  17. double? elevation,
  18. double? focusElevation,
  19. double? hoverElevation,
  20. double? highlightElevation,
  21. double? disabledElevation,
})

Implementation

const NextButton(
    {Key? key,
    this.leading,
    this.itemBuilder,
    this.enabled = true,
    this.trailing,
    this.style,
    this.child,
    this.onPressed,
    this.color,
    this.outlineColor,
    this.padding = const EdgeInsets.symmetric(horizontal: 15, vertical: 12),
    this.margin = const EdgeInsets.all(4),
    this.variant = NextButtonVariant.filled,
    this.borderRadius = const BorderRadius.all(Radius.circular(6)),
    this.animationDuration,
    this.hoverDuration,
    this.elevation,
    this.focusElevation,
    this.hoverElevation,
    this.highlightElevation,
    this.disabledElevation})
    : super(key: key);