Displays a button or a component that looks like a button.
ShadButton( text: const Text('Primary'), onPressed: () {},)
ShadButton.secondary( text: const Text('Secondary'), onPressed: () {},)
ShadButton.destructive( text: const Text('Destructive'), onPressed: () {},)
ShadButton.outline( text: const Text('Outline'), onPressed: () {},)
ShadButton.ghost( text: const Text('Ghost'), onPressed: () {},)
ShadButton.link( text: const Text('Link'), onPressed: () {},)
ShadButton.outline( icon: const Icon( Icons.chevron_right, size: 16, ), onPressed: () {},),
ShadButton( onPressed: () {}, text: const Text('Login with Email'), icon: Icon( Icons.mail_outlined, size: 16, ),)
ShadButton( onPressed: () {}, text: const Text('Please wait'), icon: SizedBox.square( dimension: 16, child: CircularProgressIndicator(strokeWidth: 2), ),)
ShadButton( onPressed: () {}, gradient: const LinearGradient(colors: [ Colors.cyan, Colors.indigo, ]), shadows: [ BoxShadow( color: Colors.blue.withOpacity(.4), spreadRadius: 4, blurRadius: 10, offset: const Offset(0, 2), ), ], text: const Text('Gradient with Shadow'),)