AbdullahChauhan / custom-dropdown

Custom dropdown widget allows to add highly customizable dropdown widget in your projects. Features includes Search on list data, Network search, Multi-selection and many more.
https://pub.dev/packages/animated_custom_dropdown
BSD 3-Clause "New" or "Revised" License
151 stars 71 forks source link

Why there is background border there? #84

Open bitwaleb12 opened 4 months ago

bitwaleb12 commented 4 months ago

Why there is background border there? and how to remove it?

Screenshot 2024-07-11 at 15 38 21
AbhishekSingh-958 commented 3 months ago

You can remove this background border by wrapping the CustomDropdown with Theme. Theme( data: Theme.of(context).copyWith( inputDecorationTheme: const InputDecorationTheme( errorBorder: InputBorder.none, focusedBorder: InputBorder.none, focusedErrorBorder: InputBorder.none, disabledBorder: InputBorder.none, enabledBorder: InputBorder.none, isDense: true, )), child: CustomDropdown( items: widget.items, ), )

bitwaleb12 commented 3 months ago

ok

On Thu, Aug 8, 2024 at 8:35 AM Abhishek Singh @.***> wrote:

You can remove this background border by wrapping the CustomDropdown with Theme. Theme( data: Theme.of(context).copyWith( inputDecorationTheme: const InputDecorationTheme( errorBorder: InputBorder.none, focusedBorder: InputBorder.none, focusedErrorBorder: InputBorder.none, disabledBorder: InputBorder.none, enabledBorder: InputBorder.none, isDense: true, )), child: CustomDropdown( items: widget.items, ), )

— Reply to this email directly, view it on GitHub https://github.com/AbdullahChauhan/custom-dropdown/issues/84#issuecomment-2274988815, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKCNI7SHHUITDZZRI7W3XDZQL7TBAVCNFSM6AAAAABKW4YYZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZUHE4DQOBRGU . You are receiving this because you authored the thread.Message ID: @.***>