Open bitwaleb12 opened 4 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
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: @.***>
Why there is background border there? and how to remove it?