SimformSolutionsPvtLtd / flutter_showcaseview

Flutter plugin that allows you to showcase your features on flutter application. 👌🔝🎉
https://pub.dev/packages/showcaseview
MIT License
1.48k stars 433 forks source link

Cross axis alignment for title and description. #469

Closed binSaed closed 6 days ago

binSaed commented 3 weeks ago

Description

add support to change CrossAxisAlignment for the title and description no braking changes

titleDesCrossAxisAlignment: CrossAxisAlignment.center,

Screenshot 2024-08-19 at 5 52 45 AM

without titleDesCrossAxisAlignment

Screenshot 2024-08-19 at 5 53 00 AM

Checklist

Breaking Change?

Related Issues

aditya-css commented 6 days ago

Hello @binSaed, Thanks for your contribution, but you can achieve this exact behaviour using descriptionAlignment and titleAlignment properties.

There is also PR #459 already open to further fix the code related to this.

binSaed commented 6 days ago

@aditya-css
Thanks for your replay But for your information descriptionAlignment and titleAlignment are text-align and only work if the text width is more than the showCase width I hope you try to make the same result with the current implementation

Screenshot 2024-08-19 at 5 52 45 AM
aditya-css commented 5 days ago

Yes @binSaed, you are correct and we noticed that and have created PR #459 that renames the current properties to appropriate name suggesting it is TextAlign and added new properties for cross axis alignment.