ArButton.secondary constructor

ArButton.secondary({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. bool isLoading = false,
  5. bool isDisabled = false,
  6. double? width,
})

Implementation

factory ArButton.secondary({
  Key? key,
  required String label,
  VoidCallback? onPressed,
  bool isLoading = false,
  bool isDisabled = false,
  double? width,
}) => ArButton._(
  key: key,
  label: label,
  variant: _ArButtonVariant.secondary,
  onPressed: onPressed,
  isLoading: isLoading,
  isDisabled: isDisabled,
  width: width,
);