-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix!: 🐛 Fixed TitleAlign Issue #459
Conversation
lib/src/showcase.dart
Outdated
@@ -252,13 +254,25 @@ class Showcase extends StatefulWidget { | |||
/// Defaults to 7. | |||
final double toolTipSlideEndDistance; | |||
|
|||
/// Title alignment within tooltip widget |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add widget word in there?
/// Title alignment within tooltip widget | |
/// Title widget alignment within tooltip widget |
lib/src/tooltip_widget.dart
Outdated
@@ -439,44 +443,52 @@ class _ToolTipWidgetState extends State<ToolTipWidget> | |||
: CrossAxisAlignment.center, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see if this is still required after the usage of Align
as parent of the children.
lib/src/tooltip_widget.dart
Outdated
@@ -70,7 +72,7 @@ class ToolTipWidget extends StatefulWidget { | |||
required this.offset, | |||
required this.screenSize, | |||
required this.title, | |||
required this.titleAlignment, | |||
required this.titleTextAlign, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please put this with the other text align and alignment property below?
26effd4
to
7f11a09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Added titleAlignment and descriptionAlignment parameters to align title and description within the tooltip widget Renamed parameters titleAlignment to titleTextAlign and descriptionAlignment to descriptionTextAlign
ff521eb
to
f3305eb
Compare
30b9224
to
bc9995a
Compare
Description
titleAlignment
anddescriptionAlignment
parameters to align title and description within the tooltip widgettitleAlignment
totitleTextAlign
anddescriptionAlignment
todescriptionTextAlign
Checklist
fix:
,feat:
,docs:
etc).docs
and added dartdoc comments with///
.examples
ordocs
.Breaking Change?
Related Issues
Closes #457