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

AutoSizeText with NeumorphicText #78

Open
pratikbutani opened this issue Dec 14, 2020 · 0 comments
Open

AutoSizeText with NeumorphicText #78

pratikbutani opened this issue Dec 14, 2020 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@pratikbutani
Copy link

Question
I am already using NeumorphicText to display text, Now If I want to resize it I have to use AutoSizeText. How can I use both widgets together.

Code sample
What I am using is:

 _getHeaderTextWidget() {
    return NeumorphicText(
      "Create WhatsApp Quiz, Spoiler, Joke, Pay-off, or General Intro of Business for longer messages with “... Read more” button",
      textStyle: NeumorphicTextStyle(fontFamily: 'fontFamily', fontSize: 26.0),
      textAlign: TextAlign.center,
      style: NeumorphicStyle(
          color: Extension.textColor(context),
          shadowLightColor: Extension.textColor(context)),
    );
  }

Version

  • Flutter version: Channel stable, 1.22.5,
  • auto_size_text version: 2.1.0
  • neumorphic 0.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants