We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Widget get _valueWidget { return Text( isLoading ? loadingText : value, style: const TextStyle(color: Colors.grey), overflow: TextOverflow.ellipsis, maxLines: 1, ); }
why doesnt optional color
Widget get _valueWidget { return Text( isLoading ? loadingText : value, style: TextStyle(color: ListTileTheme.of(context).textColor), overflow: TextOverflow.ellipsis, maxLines: 1, ); }
The text was updated successfully, but these errors were encountered:
There is no built-in method or property that you can change the color of value. The only way is to do your own design with tileBuilder.
tileBuilder: (context, state) { return Container( padding: EdgeInsets.symmetric(horizontal: 10, vertical: 6), child: InkWell( onTap: () => state.showModal(), child: Row( children: [ Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text(state.title, style: TextStyle(fontSize: 16, color: Colors.white)), Text(state.valueObject.map((e) => e.title).join(', '), style: TextStyle(fontSize: 12, color: Colors.white70)) ], ), ), Icon(Icons.arrow_drop_down, size: 30, color: Colors.white70,) ], ), ) ); },
Sorry, something went wrong.
I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. Could you check that everything works for you?
No branches or pull requests
why doesnt optional color
The text was updated successfully, but these errors were encountered: