Displays a button or a component that looks like a button.
ShadButton( child: const Text('Primary'), onPressed: () {},)
ShadButton.secondary( child: const Text('Secondary'), onPressed: () {},)
ShadButton.destructive( child: const Text('Destructive'), onPressed: () {},)
ShadButton.outline( child: const Text('Outline'), onPressed: () {},)
ShadButton.ghost( child: const Text('Ghost'), onPressed: () {},)
ShadButton.link( child: const Text('Link'), onPressed: () {},)
ShadButton.outline( icon: const Icon( Icons.chevron_right, size: 16, ), onPressed: () {},),
ShadButton( onPressed: () {}, child: const Text('Login with Email'), icon: Icon( Icons.mail_outlined, size: 16, ),)
ShadButton( onPressed: () {}, child: 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), ), ], child: const Text('Gradient with Shadow'),)