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

Change the position of the icon #37

Closed
HardikkMadaan opened this issue Dec 23, 2019 · 2 comments
Closed

Change the position of the icon #37

HardikkMadaan opened this issue Dec 23, 2019 · 2 comments

Comments

@HardikkMadaan
Copy link

I wish to change the position of the arrow icon. Currently it comes in the next line of the specified text. Is there any way i can align it in the same line as of text, to the right of it ?
I'll give an example!
home screen-2 multiple media in one post – 8

@maheshmnj
Copy link

I had the same issue,use this headerAlignment: ExpandablePanelHeaderAlignment.center;
this will align the header to center ,however this is deprecated with the latest version of the plugin but gets the work done

@aryzhov
Copy link
Owner

aryzhov commented Dec 27, 2019

The proper way to do it in the latest release is in theme data:

ExpandablePanel(
    theme: ExpandableThemeData(headerAlignment: ExpandablePanelHeaderAlignment.bottom),
    ...
)

@aryzhov aryzhov closed this as completed Dec 27, 2019
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

No branches or pull requests

3 participants