NextButton constructor
const
NextButton({
- Key? key,
- Widget? leading,
- Widget itemBuilder(
- BuildContext context,
- bool isHovered,
- Color? color
- bool enabled = true,
- Widget? trailing,
- TextStyle? style,
- Widget? child,
- void onPressed()?,
- Color? color,
- Color? outlineColor,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 15, vertical: 12),
- EdgeInsets margin = const EdgeInsets.all(4),
- NextButtonVariant variant = NextButtonVariant.filled,
- BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(6)),
- Duration? animationDuration,
- Duration? hoverDuration,
- double? elevation,
- double? focusElevation,
- double? hoverElevation,
- double? highlightElevation,
- 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);