Skip to content

Commit

Permalink
Merge pull request #81 from kaiquegazola/fix-paddings
Browse files Browse the repository at this point in the history
fix: fix bubble and overlay shapes padding
  • Loading branch information
bensonarafat authored Oct 11, 2023
2 parents 8d6f7e4 + d6cac24 commit eb3e974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/bubble_shape.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class BubbleShape extends ShapeBorder {
final EdgeInsetsGeometry bubbleDimensions;

@override
EdgeInsetsGeometry get dimensions => const EdgeInsets.all(10.0);
EdgeInsetsGeometry get dimensions => bubbleDimensions;

@override
Path getInnerPath(Rect rect, {TextDirection? textDirection}) => Path()
Expand Down
2 changes: 1 addition & 1 deletion lib/src/shape_overlay.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ShapeOverlay extends ShapeBorder {
final EdgeInsetsGeometry overlayDimensions;

@override
EdgeInsetsGeometry get dimensions => const EdgeInsets.all(10.0);
EdgeInsetsGeometry get dimensions => overlayDimensions;

@override
Path getInnerPath(Rect rect, {TextDirection? textDirection}) =>
Expand Down

0 comments on commit eb3e974

Please sign in to comment.