Adding click pointer for desktop and web
This commit is contained in:
parent
546db9006a
commit
4c4a08a5b3
3 changed files with 15 additions and 8 deletions
|
@ -333,14 +333,17 @@ class _InputDropdown extends StatelessWidget {
|
|||
suffixIcon: Icon(Icons.arrow_drop_down),
|
||||
);
|
||||
|
||||
return GestureDetector(
|
||||
onTap: onPressed,
|
||||
child: InputDecorator(
|
||||
decoration: effectiveDecoration.applyDefaults(
|
||||
Theme.of(context).inputDecorationTheme,
|
||||
return MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
onTap: onPressed,
|
||||
child: InputDecorator(
|
||||
decoration: effectiveDecoration.applyDefaults(
|
||||
Theme.of(context).inputDecorationTheme,
|
||||
),
|
||||
isEmpty: isEmpty,
|
||||
child: text == null ? null : Text(text!, style: textStyle),
|
||||
),
|
||||
isEmpty: isEmpty,
|
||||
child: text == null ? null : Text(text!, style: textStyle),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue