margin property
Customizes the padding around the action button.
Defaults to EdgeInsetsDirectional.only(start: 8.0)
.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
actionButton: ChatActionButton(
margin: EdgeInsets.all(12.0),
),
);
}
Implementation
@override
final EdgeInsetsGeometry margin;