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 font size for title #19
Comments
I wanna change the color, but I don't know how... |
@serahzaveri @Katekko But then packages are stored in cache and this will be removed if other people will setup the project. as package will be installed from flutter pub repository. A good solution is to expose it and make it configurable similar to @davigmacode i believe you can guide me on this, I will create a PR. |
I made the changes need sometime to test and create a PR |
Hi @serahzaveri, I apologize for this long response. Change the configuration to Padding(
padding: const EdgeInsets.only(top: 35.0),
child: SmartSelect.single(
title: "House Type",
value: this._houseType,
onChange: (state) => setState(() => this._houseType = state.value),
choiceItems: options.houseType,
modalType: S2ModalType.bottomSheet,
modalHeaderStyle: S2ModalHeaderStyle(
textStyle: TextStyle(
fontSize: 28.0
),
),
),
), Please reopen this issue if it still fails. Thanks |
Hi @Katekko, what color? can be more specific? |
Hi @heypran, I have responded to the pull request Thanks |
I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. |
I'm having trouble changing the font size of the title. I tried changing the font size of the modal header but that does not change the font size of the title.
Any help will be really appreciated. Thanks.
Padding(
padding: const EdgeInsets.only(top: 35.0),
child: SmartSelect.single(
title: "House Type", //i want to change the font size of this on the form
value: this._houseType,
options: options.houseType,
onChange: (val) => setState(() => this._houseType = val),
modalType: SmartSelectModalType.bottomSheet,
modalConfig: SmartSelectModalConfig(
headerStyle: SmartSelectModalHeaderStyle(
textStyle: TextStyle(
fontSize: 28.0
)
)
)
),
),
The text was updated successfully, but these errors were encountered: