Showing
2 changed files
with
2 additions
and
0 deletions
| @@ -492,6 +492,7 @@ PointerDeviceKind defaultPointerDeviceKind(BuildContext context) { | @@ -492,6 +492,7 @@ PointerDeviceKind defaultPointerDeviceKind(BuildContext context) { | ||
| 492 | switch (platform) { | 492 | switch (platform) { |
| 493 | case TargetPlatform.iOS: | 493 | case TargetPlatform.iOS: |
| 494 | case TargetPlatform.android: | 494 | case TargetPlatform.android: |
| 495 | + case TargetPlatform.ohos: | ||
| 495 | return PointerDeviceKind.touch; | 496 | return PointerDeviceKind.touch; |
| 496 | case TargetPlatform.linux: | 497 | case TargetPlatform.linux: |
| 497 | case TargetPlatform.macOS: | 498 | case TargetPlatform.macOS: |
| @@ -38,6 +38,7 @@ class _ModalBottomSheetState<T> extends State<_ModalBottomSheet<T>> { | @@ -38,6 +38,7 @@ class _ModalBottomSheetState<T> extends State<_ModalBottomSheet<T>> { | ||
| 38 | case TargetPlatform.linux: | 38 | case TargetPlatform.linux: |
| 39 | case TargetPlatform.macOS: | 39 | case TargetPlatform.macOS: |
| 40 | case TargetPlatform.windows: | 40 | case TargetPlatform.windows: |
| 41 | + case TargetPlatform.ohos: | ||
| 41 | return ''; | 42 | return ''; |
| 42 | case TargetPlatform.android: | 43 | case TargetPlatform.android: |
| 43 | case TargetPlatform.fuchsia: | 44 | case TargetPlatform.fuchsia: |
-
Please register or login to post a comment