Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
Flutter Inappwebview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
Flutter Inappwebview
Commits
c34cdf55
Commit
c34cdf55
authored
6 years ago
by
pichillilorenzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added test.dart
parent
3b538104
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
524 additions
and
54 deletions
+524
-54
.idea/workspace.xml
.idea/workspace.xml
+25
-32
example/lib/main.dart
example/lib/main.dart
+24
-22
example/lib/test.dart
example/lib/test.dart
+475
-0
No files found.
.idea/workspace.xml
View file @
c34cdf55
...
...
@@ -16,12 +16,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9b41f7a2-a71e-4923-91fb-249d7815b3e7"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/Runner/Info.plist"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/Runner/Info.plist"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/flutter_inappbrowser.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/flutter_inappbrowser.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/FlutterWebViewController.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/FlutterWebViewController.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/InAppBrowserWebViewController.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/InAppBrowserWebViewController.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/InAppWebView.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/InAppWebView.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/SwiftFlutterPlugin.swift"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/SwiftFlutterPlugin.swift"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/lib/main.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/lib/main.dart"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
...
...
@@ -41,7 +36,7 @@
<file
leaf-file-name=
"flutter_inappbrowser.dart"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
25
0"
>
<state
relative-caret-position=
"
438
0"
>
<caret
line=
"323"
column=
"41"
selection-start-line=
"323"
selection-start-column=
"41"
selection-end-line=
"323"
selection-end-column=
"41"
/>
<folding>
<element
signature=
"e#814#831#0"
expanded=
"true"
/>
...
...
@@ -53,11 +48,10 @@
<file
leaf-file-name=
"main.dart"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
288
"
>
<caret
line=
"
410"
column=
"35"
lean-forward=
"true"
selection-start-line=
"410"
selection-start-column=
"35"
selection-end-line=
"410"
selection-end-column=
"35
"
/>
<state
relative-caret-position=
"
405
"
>
<caret
line=
"
27"
column=
"18"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"18"
selection-end-line=
"27"
selection-end-column=
"18
"
/>
<folding>
<element
signature=
"e#0#16428#0"
expanded=
"true"
/>
<element
signature=
"e#12489#12509#0"
expanded=
"true"
/>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
@@ -154,7 +148,7 @@
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1641"
/>
<option
name=
"height"
value=
"1027"
/>
...
...
@@ -166,6 +160,17 @@
</navigator>
<panes>
<pane
id=
"AndroidView"
/>
<pane
id=
"Scope"
>
<subPane
subId=
"Project Files"
>
<expand>
<path>
<item
name=
"Root"
type=
"cbb8eebc:String"
user=
"Root"
/>
<item
name=
"flutter_inappbrowser"
type=
"cbb8eebc:String"
user=
"flutter_inappbrowser"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -207,17 +212,6 @@
<option
name=
"show-excluded-files"
value=
"false"
/>
</pane>
<pane
id=
"PackagesPane"
/>
<pane
id=
"Scope"
>
<subPane
subId=
"Project Files"
>
<expand>
<path>
<item
name=
"Root"
type=
"cbb8eebc:String"
user=
"Root"
/>
<item
name=
"flutter_inappbrowser"
type=
"cbb8eebc:String"
user=
"flutter_inappbrowser"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
...
...
@@ -374,7 +368,7 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"16
41"
height=
"1027"
extended-state=
"0
"
/>
<frame
x=
"0"
y=
"23"
width=
"16
80"
height=
"1027"
extended-state=
"6
"
/>
<editor
active=
"true"
/>
<layout>
<window_info
anchor=
"bottom"
id=
"Android Profiler"
order=
"7"
show_stripe_button=
"false"
/>
...
...
@@ -387,14 +381,14 @@
<window_info
anchor=
"bottom"
id=
"Dart Analysis"
order=
"14"
weight=
"0.32745314"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49478307"
weight=
"0.29437706"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49533224
"
weight=
"0.24696803"
/>
<window_info
a
ctive=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49533224"
visible=
"true
"
weight=
"0.24696803"
/>
<window_info
anchor=
"right"
id=
"Flutter Outline"
order=
"6"
weight=
"0.32922077"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"11"
/>
<window_info
id=
"Captures"
order=
"4"
weight=
"0.32936507"
/>
<window_info
id=
"Capture Tool"
order=
"6"
/>
<window_info
id=
"Designer"
order=
"2"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.4950386"
visible=
"true"
weight=
"0.13445903
"
/>
<window_info
id=
"Structure"
order=
"1"
sideWeight=
"0.50
496143"
side_tool=
"true"
visible=
"true"
weight=
"0.13445903
"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49341142"
visible=
"true"
weight=
"0.13125764
"
/>
<window_info
id=
"Structure"
order=
"1"
sideWeight=
"0.50
65886"
side_tool=
"true"
visible=
"true"
weight=
"0.13125764
"
/>
<window_info
anchor=
"right"
id=
"Device File Explorer"
order=
"5"
side_tool=
"true"
/>
<window_info
anchor=
"right"
id=
"Theme Preview"
order=
"7"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.34288865"
/>
...
...
@@ -679,7 +673,7 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
25
0"
>
<state
relative-caret-position=
"
438
0"
>
<caret
line=
"323"
column=
"41"
selection-start-line=
"323"
selection-start-column=
"41"
selection-end-line=
"323"
selection-end-column=
"41"
/>
<folding>
<element
signature=
"e#814#831#0"
expanded=
"true"
/>
...
...
@@ -689,11 +683,10 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
288
"
>
<caret
line=
"
410"
column=
"35"
lean-forward=
"true"
selection-start-line=
"410"
selection-start-column=
"35"
selection-end-line=
"410"
selection-end-column=
"35
"
/>
<state
relative-caret-position=
"
405
"
>
<caret
line=
"
27"
column=
"18"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"18"
selection-end-line=
"27"
selection-end-column=
"18
"
/>
<folding>
<element
signature=
"e#0#16428#0"
expanded=
"true"
/>
<element
signature=
"e#12489#12509#0"
expanded=
"true"
/>
<element
signature=
"e#0#20#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
This diff is collapsed.
Click to expand it.
example/lib/main.dart
View file @
c34cdf55
...
...
@@ -33,29 +33,31 @@ class _MyAppState extends State<MyApp> {
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
home:
DefaultTabController
(
length:
3
,
child:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Tabs Demo'
),
),
body:
TabBarView
(
children:
[
WebviewExampleScreen
(),
ChromeSafariExampleScreen
(),
InlineExampleScreen
(),
],
),
bottomNavigationBar:
Container
(
color:
Theme
.
of
(
context
).
primaryColor
,
child:
TabBar
(
indicatorColor:
Colors
.
white
,
tabs:
[
Tab
(
text:
"Webview"
),
Tab
(
text:
"Chrome/Safari"
),
Tab
(
text:
"Inline"
,),
]
,
length:
3
,
child:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Tabs Demo'
),
),
body:
TabBarView
(
children:
[
WebviewExampleScreen
(),
ChromeSafariExampleScreen
(),
InlineExampleScreen
(),
],
),
bottomNavigationBar:
Container
(
color:
Theme
.
of
(
context
).
primaryColor
,
child:
TabBar
(
indicatorColor:
Colors
.
white
,
tabs:
[
Tab
(
text:
"Webview"
),
Tab
(
text:
"Chrome/Safari"
),
Tab
(
text:
"Inline"
,
),
))),
],
),
))),
);
}
}
This diff is collapsed.
Click to expand it.
example/lib/test.dart
0 → 100644
View file @
c34cdf55
This diff is collapsed.
Click to expand it.
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