flutter_smart_select icon indicating copy to clipboard operation
flutter_smart_select copied to clipboard

TextStyle for top level "title" widget

Open chuckienorton opened this issue 5 years ago • 5 comments

Hello,

This is an excellent package that has made our application so so much more professional feeling.

I'm having a hard time styling the 'title' field - not modal title but original title shown before opening the modal. This is primarily for dark/light mode. In dark mode the title is invisible before clicking to open the modal.

I see in #19 what looks like the same question but the answer only applies to the modal header title.

Any help would be appreciated!

chuckienorton avatar Dec 08 '20 16:12 chuckienorton

I'm looking for a solution to this too, it's really my only complaint with the package

ospangler avatar Jan 17 '21 03:01 ospangler

I found a solution to this using invert_colors. It's not the prettiest, but it works. Just wrap the Smart Select with it, and the titles will switch to something dark mode friendly. Hopefully this is a temporary thing until this package is updated.

ospangler avatar Jan 18 '21 02:01 ospangler

Hello, the package is really excellent, however, I would like to customize the title, simple changes like padding adjustment, changing the icon and font would be great in a new version!

lffruhling avatar Feb 25 '21 15:02 lffruhling

I found a solution to this using invert_colors. It's not the prettiest, but it works. Just wrap the Smart Select with it, and the titles will switch to something dark mode friendly. Hopefully this is a temporary thing until this package is updated.

Thanks so much for this recommend - this was the only solution that worked for me for now.

child: !darkModeOn ? selectSubscriberSmartSelect() : InvertColors(child: selectSubscriberSmartSelect()));

chuckienorton avatar Apr 19 '21 15:04 chuckienorton

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. Could you check that everything works for you?

vasilich6107 avatar Nov 12 '21 23:11 vasilich6107

Hi everyone,

I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.

In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.

I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.

Thanks for your understanding.

davigmacode avatar Aug 26 '23 11:08 davigmacode