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

how to change fontsize for label #328

Closed
wrjcs opened this issue Mar 30, 2022 · 2 comments
Closed

how to change fontsize for label #328

wrjcs opened this issue Mar 30, 2022 · 2 comments

Comments

@wrjcs
Copy link

wrjcs commented Mar 30, 2022

Hello,
I want to change the font size pour SlidableAction.
Could you tell me how to get it ?

Thanks.

@hhgz9527
Copy link

hhgz9527 commented Jun 1, 2022

You can try use it:

CustomSlidableAction(
              autoClose: true,
              backgroundColor: Colors.red[400]!,
              foregroundColor: Colors.white,
              onPressed: (BuildContext context) {
                // do something
              },
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: [
                  Icon(Icons.delete_forever_outlined),
                  Text('Delete', style: TextStyle(fontSize: 12)),
                ],
              ),
            );

@yrjwcharm
Copy link

你可以尝试使用 CustomSlidableAction

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

4 participants