GRawButton constructor
const
GRawButton({
- Key? key,
- required VoidCallback? onPressed,
- required Widget child,
- Widget? icon,
- IconPosition iconPosition = IconPosition.left,
- double iconSpace = 4.0,
- double? width,
- double height = 32,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12),
- EdgeInsets margin = EdgeInsets.zero,
- ShapeBorder shape = const RoundedRectangleBorder(),
- BorderRadius? borderRadius,
- Color? color,
- Clip clip = Clip.hardEdge,
- double elevation = 0.0,
- List<
BoxShadow> ? shadow, - FocusNode? focusNode,
Implementation
const GRawButton({
Key? key,
required this.onPressed,
required this.child,
this.icon,
this.iconPosition = IconPosition.left,
this.iconSpace = 4.0,
this.width,
this.height = 32,
this.padding = const EdgeInsets.symmetric(horizontal: 12),
this.margin = EdgeInsets.zero,
this.shape = const RoundedRectangleBorder(),
this.borderRadius,
this.color,
this.clip = Clip.hardEdge,
this.elevation = 0.0,
this.shadow,
this.focusNode,
}) : super(key: key);