Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

rashi-simform
Copy link

Description

  • Added titleAlignment and descriptionAlignment parameters to align title and description within the tooltip widget
  • Renamed parameters titleAlignment to titleTextAlign and descriptionAlignment to descriptionTextAlign

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

Closes #457

README.md Show resolved Hide resolved
@@ -252,13 +254,25 @@ class Showcase extends StatefulWidget {
/// Defaults to 7.
final double toolTipSlideEndDistance;

/// Title alignment within tooltip widget

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?

Suggested change
/// Title alignment within tooltip widget
/// Title widget alignment within tooltip widget

@@ -439,44 +443,52 @@ class _ToolTipWidgetState extends State<ToolTipWidget>
: CrossAxisAlignment.center,

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.

@@ -70,7 +72,7 @@ class ToolTipWidget extends StatefulWidget {
required this.offset,
required this.screenSize,
required this.title,
required this.titleAlignment,
required this.titleTextAlign,

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?

faiyaz-shaikh and others added 7 commits October 24, 2024 15:01
- Added `toolTipAction` parameter in `Showcase` which is used to get action widget configuration and defaults to `null`
- Added `DefaultToolTipActionWidget` class for default tooltip action widgets
- Added `ToolTipActionButton` class for tooltip action buttons
rashi-simform and others added 2 commits November 21, 2024 17:52
Added titleAlignment and descriptionAlignment parameters to align title and description within the tooltip widget
Renamed parameters titleAlignment to titleTextAlign and descriptionAlignment to descriptionTextAlign
Copy link
Collaborator

@Sahil-Simform Sahil-Simform left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

titleAlignment property does not work
6 participants