Skip to content

Conversation

@rashi-simform
Copy link
Contributor

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

@rashi-simform rashi-simform requested a review from aditya-css July 2, 2024 11:23
@aditya-css aditya-css added this to the 4.0.0 milestone Jul 5, 2024
/// Defaults to 7.
final double toolTipSlideEndDistance;

/// Title alignment within tooltip widget
Copy link
Contributor

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

child: Column(
crossAxisAlignment: widget.title != null
? CrossAxisAlignment.start
: CrossAxisAlignment.center,
Copy link
Contributor

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.

required this.screenSize,
required this.title,
required this.titleAlignment,
required this.titleTextAlign,
Copy link
Contributor

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?

@Sahil-Simform Sahil-Simform force-pushed the fix/issue_457 branch 2 times, most recently from 26effd4 to 7f11a09 Compare November 21, 2024 12:56
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!

Added titleAlignment and descriptionAlignment parameters to align title and description within the tooltip widget
Renamed parameters titleAlignment to titleTextAlign and descriptionAlignment to descriptionTextAlign
@Sahil-Simform Sahil-Simform force-pushed the fix/issue_457 branch 2 times, most recently from ff521eb to f3305eb Compare December 2, 2024 11:33
@aditya-css aditya-css merged commit 648efac into master Dec 2, 2024
2 checks passed
@aditya-css aditya-css deleted the fix/issue_457 branch December 2, 2024 11:43
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

5 participants