Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
flutter_plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
flutter_plugin
Commits
72bc7ae5
Commit
72bc7ae5
authored
Nov 01, 2019
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
7c88c03d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
156 additions
and
119 deletions
+156
-119
workspace.xml
.idea/workspace.xml
+123
-106
AlbumModel.dart
example/lib/AlbumModel/page/album/AlbumModel.dart
+1
-1
AlbumPage.dart
example/lib/AlbumModel/page/album/AlbumPage.dart
+2
-2
main.dart
example/lib/main.dart
+25
-6
GengmeiFlutterPlugin.m
ios/Classes/GengmeiFlutterPlugin.m
+3
-2
MyPlayerViewController.m
ios/Classes/MyPlayerViewController.m
+2
-2
No files found.
.idea/workspace.xml
View file @
72bc7ae5
...
...
@@ -8,6 +8,16 @@
<list
default=
"true"
id=
"5be6bbb5-7d6e-4540-a24f-d2b3bf78b3ba"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/lib/AlbumModel/page/album/AlbumModel.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/lib/AlbumModel/page/album/AlbumModel.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/lib/AlbumModel/page/album/AlbumPage.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/lib/AlbumModel/page/album/AlbumPage.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/lib/main.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/lib/main.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/ios/Classes/GengmeiFlutterPlugin.m"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/ios/Classes/GengmeiFlutterPlugin.m"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/ios/Classes/MyPlayerViewController.m"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/ios/Classes/MyPlayerViewController.m"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumModel.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumModel.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/main.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/main.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/MyPlayerViewController.m"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/MyPlayerViewController.m"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
...
...
@@ -27,11 +37,11 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"AKC0218316000622"
/>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumModel.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
164
"
>
<caret
line=
"
356"
selection-start-line=
"356"
selection-end-line=
"356
"
/>
<state
relative-caret-position=
"
311
"
>
<caret
line=
"
242"
column=
"41"
selection-start-line=
"242"
selection-start-column=
"41"
selection-end-line=
"242"
selection-end-column=
"41
"
/>
<folding>
<element
signature=
"e#46#66#0"
expanded=
"true"
/>
</folding>
...
...
@@ -39,44 +49,32 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/
AlbumModel/page/preview/AlbumPreviewPage
.dart"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/
main
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
09
"
>
<caret
line=
"
34"
column=
"27"
selection-start-line=
"34"
selection-start-column=
"27"
selection-end-line=
"34"
selection-end-column=
"2
7"
/>
<state
relative-caret-position=
"2
42
"
>
<caret
line=
"
173"
column=
"47"
selection-start-line=
"173"
selection-start-column=
"47"
selection-end-line=
"173"
selection-end-column=
"4
7"
/>
<folding>
<element
signature=
"e#
45#62
#0"
expanded=
"true"
/>
<element
signature=
"e#
0#17
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$
PROJECT_DIR$/example/lib/AlbumModel/page/preview/AlbumPreviewModel
.dart"
>
<entry
file=
"file://$
USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/core/double
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
242
"
>
<caret
line=
"
11"
selection-start-line=
"11"
selection-end-line=
"11
"
/>
<state
relative-caret-position=
"
135
"
>
<caret
line=
"
29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/Anim.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1390"
/>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/LiveData.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
172
"
>
<caret
line=
"18
5"
column=
"32"
selection-start-line=
"185"
selection-start-column=
"32"
selection-end-line=
"185"
selection-end-column=
"32
"
/>
<state
relative-caret-position=
"
271
"
>
<caret
line=
"18
6"
column=
"31"
selection-start-line=
"186"
selection-start-column=
"31"
selection-end-line=
"186"
selection-end-column=
"31
"
/>
<folding>
<element
signature=
"e#45#62#0"
expanded=
"true"
/>
</folding>
...
...
@@ -85,46 +83,49 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$
PROJECT_DIR$/lib/ScanImagePlugn
.dart"
>
<entry
file=
"file://$
USER_HOME$/Downloads/flutter/packages/flutter/lib/src/widgets/scroll_view
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"204"
>
<caret
line=
"54"
column=
"55"
selection-start-line=
"54"
selection-start-column=
"39"
selection-end-line=
"54"
selection-end-column=
"55"
/>
<folding>
<element
signature=
"e#45#86#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"135"
>
<caret
line=
"929"
column=
"22"
selection-start-line=
"929"
selection-start-column=
"22"
selection-end-line=
"929"
selection-end-column=
"22"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$
PROJECT_DIR$/lib/gengmei_flutter_plugin
.dart"
>
<entry
file=
"file://$
USER_HOME$/Downloads/flutter/packages/flutter/lib/src/widgets/framework
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"401"
>
<caret
line=
"34"
column=
"41"
selection-start-line=
"34"
selection-start-column=
"41"
selection-end-line=
"34"
selection-end-column=
"41"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"135"
>
<caret
line=
"3858"
column=
"8"
selection-start-line=
"3858"
selection-start-column=
"8"
selection-end-line=
"3858"
selection-end-column=
"8"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/
packages/flutter/lib/src/services/platform_channel
.dart"
>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/
bin/cache/pkg/sky_engine/lib/async/future
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
21
"
>
<caret
line=
"
342"
column=
"20"
selection-start-line=
"342"
selection-start-column=
"20"
selection-end-line=
"342"
selection-end-column=
"20
"
/>
<state
relative-caret-position=
"1
35
"
>
<caret
line=
"
600"
column=
"12"
selection-start-line=
"600"
selection-start-column=
"12"
selection-end-line=
"600"
selection-end-column=
"12
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/
repository/AlbumRepository
.dart"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/
Anim
.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"251"
>
<caret
line=
"26"
column=
"25"
selection-start-line=
"26"
selection-start-column=
"25"
selection-end-line=
"29"
selection-end-column=
"9"
/>
<folding>
<element
signature=
"e#46#106#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"-1390"
/>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/LiveData.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/SharedPlugin.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
</state>
</provider>
</entry>
...
...
@@ -163,6 +164,8 @@
<find>
paseAlbum
</find>
<find>
onTap
</find>
<find>
print
</find>
<find>
ontap
</find>
<find>
pop
</find>
</findStrings>
</component>
<component
name=
"Git.Settings"
>
...
...
@@ -185,19 +188,19 @@
<option
value=
"$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/ImagePlugin/repository/ImageRespository.kt"
/>
<option
value=
"$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/ImagePlugin/repository/luban/Engine.kt"
/>
<option
value=
"$PROJECT_DIR$/lib/SharedPlugin.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/repository/AlbumRepository.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/page/preview/AlbumPreviewModel.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/page/preview/AlbumPreviewPage.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/ScanImagePlugn.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumModel.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"
91
"
/>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
8
"
/>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1440"
/>
<option
name=
"height"
value=
"811"
/>
...
...
@@ -316,9 +319,10 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"9"
y=
"23"
width=
"1440"
height=
"811"
extended-state=
"6"
/>
<frame
x=
"8"
y=
"23"
width=
"1440"
height=
"811"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.19742489"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.19742489"
/>
<window_info
id=
"Captures"
order=
"1"
side_tool=
"true"
/>
<window_info
id=
"Structure"
order=
"2"
side_tool=
"true"
/>
<window_info
id=
"Image Layers"
order=
"3"
/>
...
...
@@ -333,7 +337,7 @@
<window_info
anchor=
"bottom"
id=
"Android Profiler"
order=
"3"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"4"
weight=
"0.4534075"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"5"
/>
<window_info
a
ctive=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"6"
visible=
"true"
weight=
"0.2934631
4"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"6"
visible=
"true"
weight=
"0.3949930
4"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"7"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Flutter Performance"
order=
"8"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
...
...
@@ -349,22 +353,6 @@
</layout>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"456"
>
<caret
line=
"39"
column=
"71"
selection-start-line=
"39"
selection-start-column=
"49"
selection-end-line=
"39"
selection-end-column=
"71"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/async/future.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"282"
>
<caret
line=
"600"
column=
"12"
selection-start-line=
"600"
selection-start-column=
"12"
selection-end-line=
"600"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/commonModel/ui/ALFont.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/example/lib/Annotations/anno/Get.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/example/lib/Annotations/Generator/RouterCenterGenerator.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/AlbumRouter.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/AlbumRouterImpl.dart"
/>
...
...
@@ -517,23 +505,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3036"
>
<caret
line=
"144"
column=
"53"
selection-start-line=
"144"
selection-start-column=
"53"
selection-end-line=
"144"
selection-end-column=
"53"
/>
<folding>
<element
signature=
"e#0#17#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/SharedPlugin.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"12672"
>
...
...
@@ -554,9 +525,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/LiveData.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/repository/AlbumRepository.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"251"
>
...
...
@@ -567,11 +535,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/Anim.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1390"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/preview/AlbumPreviewModel.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"242"
>
...
...
@@ -579,16 +542,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"172"
>
<caret
line=
"185"
column=
"32"
selection-start-line=
"185"
selection-start-column=
"32"
selection-end-line=
"185"
selection-end-column=
"32"
/>
<folding>
<element
signature=
"e#45#62#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/preview/AlbumPreviewPage.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"209"
>
...
...
@@ -619,15 +572,78 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/SharedPlugin.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/Anim.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1390"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/LiveData.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/async/future.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
<caret
line=
"600"
column=
"12"
selection-start-line=
"600"
selection-start-column=
"12"
selection-end-line=
"600"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/packages/flutter/lib/src/widgets/framework.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
<caret
line=
"3858"
column=
"8"
selection-start-line=
"3858"
selection-start-column=
"8"
selection-end-line=
"3858"
selection-end-column=
"8"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/packages/flutter/lib/src/widgets/scroll_view.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
<caret
line=
"929"
column=
"22"
selection-start-line=
"929"
selection-start-column=
"22"
selection-end-line=
"929"
selection-end-column=
"22"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumPage.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"271"
>
<caret
line=
"186"
column=
"31"
selection-start-line=
"186"
selection-start-column=
"31"
selection-end-line=
"186"
selection-end-column=
"31"
/>
<folding>
<element
signature=
"e#45#62#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumModel.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
164
"
>
<caret
line=
"
356"
selection-start-line=
"356"
selection-end-line=
"356
"
/>
<state
relative-caret-position=
"
311
"
>
<caret
line=
"
242"
column=
"41"
selection-start-line=
"242"
selection-start-column=
"41"
selection-end-line=
"242"
selection-end-column=
"41
"
/>
<folding>
<element
signature=
"e#46#66#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/core/double.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
<caret
line=
"29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"242"
>
<caret
line=
"173"
column=
"47"
selection-start-line=
"173"
selection-start-column=
"47"
selection-end-line=
"173"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#17#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
example/lib/AlbumModel/page/album/AlbumModel.dart
View file @
72bc7ae5
...
...
@@ -240,7 +240,7 @@ class AlbumModel {
// print("IM $image VIDEI ${video}");
// });
// });
Navigator
.
pop
(
context
,
List
<
String
>.
from
(
value
)[
0
]
);
Navigator
.
pop
(
context
,
List
<
Map
>.
from
(
value
)
);
});
}
}
...
...
example/lib/AlbumModel/page/album/AlbumPage.dart
View file @
72bc7ae5
...
...
@@ -183,8 +183,8 @@ class AlbumState extends State<AlbumPage> {
}
return
GestureDetector
(
onTap:
(){
_model
.
previewItem
(
context
,
newIndex
,
"pageName"
);
//
_model.clickItem(context, newIndex);
//
_model.previewItem(context, newIndex, "pageName");
_model
.
clickItem
(
context
,
newIndex
);
},
child:
Container
(
decoration:
BoxDecoration
(
...
...
example/lib/main.dart
View file @
72bc7ae5
...
...
@@ -132,6 +132,7 @@ class HOME extends StatefulWidget {
class
HOMESTATE
extends
State
<
HOME
>
{
String
imagePath
;
List
<
String
>
realPath
=
[];
@override
Widget
build
(
BuildContext
context
)
{
...
...
@@ -142,21 +143,39 @@ class HOMESTATE extends State<HOME> {
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
AlbumPage
(
false
,
1
0
,
null
)))
builder:
(
context
)
=>
AlbumPage
(
false
,
5
0
,
null
)))
.
then
((
value
)
{
List
<
String
>
ll
=
[];
var
value2
=
(
value
as
List
);
value2
.
forEach
((
item
)
{
var
map
=
Map
<
String
,
String
>.
from
(
item
);
ll
.
add
(
map
[
"realImagePath"
]);
});
setState
(()
{
imagePath
=
value
;
realPath
=
ll
;
// imagePath = value;
});
}).
catchError
((
error
)
{
print
(
error
);
});
},
child:
Container
(
width:
200
,
height:
200
,
width:
double
.
maxFinite
,
height:
double
.
maxFinite
,
color:
Colors
.
yellow
,
child:
imagePath
==
null
?
Text
(
"www"
)
:
Image
.
file
(
File
(
imagePath
)),
child:
ListView
.
builder
(
itemCount:
realPath
.
length
,
itemBuilder:
(
con
,
index
)
{
return
Container
(
width:
double
.
maxFinite
,
height:
500
,
child:
Image
.
file
(
File
(
realPath
[
index
]),
fit:
BoxFit
.
fitHeight
,
),
);
})
// imagePath == null ? Text("www") : Image.file(File(imagePath)),
)));
}
}
ios/Classes/GengmeiFlutterPlugin.m
View file @
72bc7ae5
...
...
@@ -299,6 +299,7 @@ NSString *cacheDirectory;
//
// CGSize temp=CGSizeMake(picWidth*tempScareSize, picHeight*tempScareSize);
dispatch_async
(
concurrentQueue
,
^
{
NSString
*
tempTake1
=
[
tempPath
stringByAppendingPathComponent
:[
path
[
i
]
lastPathComponent
]];
[[
PHImageManager
defaultManager
]
requestImageDataForAsset
:
assets
options
:
imageRequestOption
resultHandler
:^
(
NSData
*
_Nullable
imageData
,
NSString
*
_Nullable
dataUTI
,
UIImageOrientation
orientation
,
NSDictionary
*
_Nullable
info
)
{
// [[PHImageManager defaultManager] requestImageForAsset:assets targetSize:temp contentMode:PHImageContentModeDefault options:imageRequestOption resultHandler:^(UIImage * _Nullable res, NSDictionary * _Nullable info) {
...
...
@@ -306,13 +307,13 @@ NSString *cacheDirectory;
@autoreleasepool
{
UIImage
*
res
=
[
UIImage
imageWithData
:
imageData
];
NSData
*
data
=
UIImageJPEGRepresentation
(
res
,
0
.
8
)
;
[
data
writeToFile
:
tempTake
atomically
:
YES
];
[
data
writeToFile
:
tempTake
1
atomically
:
YES
];
res
=
nil
;
data
=
nil
;
}
NSMutableDictionary
*
dict
=
[[
NSMutableDictionary
alloc
]
init
];
[
dict
setObject
:
path
[
i
]
forKey
:
@"path"
];
[
dict
setObject
:
tempTake
forKey
:
@"realImagePath"
];
[
dict
setObject
:
tempTake
1
forKey
:
@"realImagePath"
];
@synchronized
(
self
)
{
self
.
channelSize
++
;
[
self
.
channelList
addObject
:
dict
];
...
...
ios/Classes/MyPlayerViewController.m
View file @
72bc7ae5
...
...
@@ -64,9 +64,9 @@
// playerVC.view.frame = CGRectMake(200, 300, 300, 300);
[
self
.
view
addSubview
:
playerVC
.
view
];
[
self
addChildViewController
:
playerVC
];
//
if (playerVC.readyForDisplay) {
if
(
playerVC
.
readyForDisplay
)
{
[
playerVC
.
player
play
];
//
}
}
});
}];
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment