SecondaryButton constructor

const SecondaryButton(
  1. String title, {
  2. Key? key,
  3. double width = 200,
  4. double height = 44,
  5. VoidCallback? onPressed,
  6. bool isLoading = false,
  7. Color? textColor,
  8. Color? outlineColor,
})

Creates a fixed-size secondary button.

Implementation

const SecondaryButton(
    this.title, {
      super.key,
      this.width = 200,
      this.height = 44,
      this.onPressed,
      this.isLoading = false,
      this.textColor,
      this.outlineColor,
    });