Skip to content

Commit

Permalink
fix: sub message not spanning full width (#1132)
Browse files Browse the repository at this point in the history
* fix: sub message not spanning full width

* fix: format
  • Loading branch information
SputNikPlop authored Dec 21, 2023
1 parent 22c6dfb commit 99b6647
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/components/chat_history/decorated_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,15 @@ class DecoratedEventWidget extends StatelessWidget {
key: key, child: child, avatars: avatars, decoration: decoration);

const DecoratedEventWidget.icon(
{Key? key, required Widget child, required IconData icon})
: this._(key: key, child: child, icon: icon);
{Key? key,
required Widget child,
required IconData icon,
EdgeInsets? padding})
: this._(
key: key,
padding: padding ?? EdgeInsets.zero,
child: child,
icon: icon);

const DecoratedEventWidget({
Key? key,
Expand Down

0 comments on commit 99b6647

Please sign in to comment.