Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
modal_bottom_sheet
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
顾海波
2025-01-18 18:04:22 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
71d0ec01ad23bf47d230973df0ac35384750748c
71d0ec01
1 parent
a87f82b4
【适配】鸿蒙
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
modal_bottom_sheet/lib/src/bottom_sheet.dart
modal_bottom_sheet/lib/src/bottom_sheet_route.dart
modal_bottom_sheet/lib/src/bottom_sheet.dart
View file @
71d0ec0
...
...
@@ -492,6 +492,7 @@ PointerDeviceKind defaultPointerDeviceKind(BuildContext context) {
switch
(
platform
)
{
case
TargetPlatform
.
iOS
:
case
TargetPlatform
.
android
:
case
TargetPlatform
.
ohos
:
return
PointerDeviceKind
.
touch
;
case
TargetPlatform
.
linux
:
case
TargetPlatform
.
macOS
:
...
...
modal_bottom_sheet/lib/src/bottom_sheet_route.dart
View file @
71d0ec0
...
...
@@ -38,6 +38,7 @@ class _ModalBottomSheetState<T> extends State<_ModalBottomSheet<T>> {
case
TargetPlatform
.
linux
:
case
TargetPlatform
.
macOS
:
case
TargetPlatform
.
windows
:
case
TargetPlatform
.
ohos
:
return
''
;
case
TargetPlatform
.
android
:
case
TargetPlatform
.
fuchsia
:
...
...
Please
register
or
login
to post a comment