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 TextStyle Issue. #6

Closed
DipakSkywave opened this issue Dec 21, 2020 · 3 comments
Closed

Change TextStyle Issue. #6

DipakSkywave opened this issue Dec 21, 2020 · 3 comments

Comments

@DipakSkywave
Copy link

@RyuuKenshi How to change TextStyle in Menu?

Code :

CollapsibleSidebar(
items: _items,
avatarImg:
NetworkImage('https://www.w3schools.com/howto/img_avatar.png'),
title: 'Test',
iconSize: 25.0,
textSize: 15.0,
minWidth: 67.0,
height: double.infinity,
duration: Duration(milliseconds: 500),
curve: Curves.fastLinearToSlowEaseIn,
toggleButtonIcon: Icons.arrow_forward_ios,
screenPadding: 4,
borderRadius: 15,
body: _body(size, context),
),

@DrunkOnBytes
Copy link
Owner

Hi @DipakSkywave,

Thank you very much for pointing out this issue. I have fixed it and updated the package to v1.0.7+2.
The new properties I have added to CollapsibleSidebar() are:

textStyle: //for collapsible tiles text
titleStyle: //for sidebar title text
toggleTitleText: //for the toggle button text

using these you can use custom TextStyle in the Sidebar.
You can check out the other improvements at https://pub.dev/packages/collapsible_sidebar

Hope this update will help you.

@DipakSkywave
Copy link
Author

Hi @DipakSkywave,

Thank you very much for pointing out this issue. I have fixed it and updated the package to v1.0.7+2.
The new properties I have added to CollapsibleSidebar() are:

textStyle: //for collapsible tiles text
titleStyle: //for sidebar title text
toggleTitleText: //for the toggle button text

using these you can use custom TextStyle in the Sidebar.
You can check out the other improvements at https://pub.dev/packages/collapsible_sidebar

Hope this update will help you.

It's Working in v1.0.7+2.

Thanks @RyuuKenshi

@DrunkOnBytes
Copy link
Owner

You are welcome @DipakSkywave.

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

2 participants