Removing unused variables, improving description
This commit is contained in:
parent
525e980e20
commit
cee1bb3f82
4 changed files with 9 additions and 10 deletions
|
@ -301,15 +301,9 @@ class _InputDropdown extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
BorderRadius inkwellBorderRadius;
|
||||
|
||||
if (decoration?.border?.runtimeType == OutlineInputBorder) {
|
||||
inkwellBorderRadius = BorderRadius.circular(8);
|
||||
}
|
||||
|
||||
final InputDecoration effectiveDecoration = decoration ??
|
||||
const InputDecoration(
|
||||
suffixIcon: const Icon(Icons.arrow_drop_down),
|
||||
suffixIcon: Icon(Icons.arrow_drop_down),
|
||||
).applyDefaults(Theme.of(context).inputDecorationTheme);
|
||||
|
||||
return GestureDetector(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue