multiselect-dropdown
multiselect-dropdown copied to clipboard
No ability to specify input decoration
I would like to be able to define my InputDecoration to make it consistent witht the rest of my fields in my app. Can you please add this as an option to make it more flexisble?
I would change multibot_dropdown.dart to return InputDecoration( enabled: widget.enabled, labelText: fieldDecoration.labelText, floatingLabelBehavior: fieldDecoration.floatingLabelBehavior, labelStyle: fieldDecoration.labelStyle, hintText: fieldDecoration.hintText, hintStyle: fieldDecoration.hintStyle, errorText: _formFieldKey.currentState?.errorText, filled: fieldDecoration.backgroundColor != null, fillColor: fieldDecoration.backgroundColor, border: fieldDecoration.border ?? border, enabledBorder: fieldDecoration.border ?? border, disabledBorder: fieldDecoration.disabledBorder, prefixIcon: prefixIcon, focusedBorder: fieldDecoration.focusedBorder ?? border, errorBorder: fieldDecoration.errorBorder, suffixIcon: _buildSuffixIcon(), contentPadding: fieldDecoration.padding, ); } and add at least floatingLabelBehavior: fieldDecoration.floatingLabelBehavior,
Inability to provide own InputDecoration makes widget unusable after upgrade.
What was the point of inventing own class (FieldDecoration) instead of using InputDecoration that Flutter ecosystem uses?