ChatActionButton constructor
const
ChatActionButton({
- Widget? child,
- String? tooltip,
- Color? foregroundColor,
- Color? backgroundColor,
- Color? focusColor,
- Color? hoverColor,
- Color? splashColor,
- double? elevation,
- double? focusElevation,
- double? hoverElevation,
- double? highlightElevation,
- MouseCursor? mouseCursor,
- ShapeBorder? shape,
- EdgeInsetsGeometry padding = const EdgeInsetsDirectional.only(start: 8.0),
- Size size = const Size.square(40.0),
- required ValueChanged<
String> ? onPressed,
Creates a ChatActionButton with the given parameters.
Implementation
const ChatActionButton({
this.child,
this.tooltip,
this.foregroundColor,
this.backgroundColor,
this.focusColor,
this.hoverColor,
this.splashColor,
this.elevation,
this.focusElevation,
this.hoverElevation,
this.highlightElevation,
this.mouseCursor,
this.shape,
this.padding = const EdgeInsetsDirectional.only(start: 8.0),
this.size = const Size.square(40.0),
required this.onPressed,
});