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
74d6180f
Commit
74d6180f
authored
Oct 13, 2018
by
pichillilorenzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed README.md example
parent
4d10efc6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
26 deletions
+37
-26
.idea/workspace.xml
.idea/workspace.xml
+35
-24
README.md
README.md
+1
-1
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
.idea/workspace.xml
View file @
74d6180f
...
...
@@ -15,7 +15,9 @@
</component>
<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$/README.md"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/README.md"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/pubspec.yaml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/pubspec.yaml"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
...
...
@@ -53,12 +55,12 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;MarkdownPreviewEditor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"
331
"
>
<caret
line=
"1
33"
column=
"35"
selection-start-line=
"133"
selection-start-column=
"35"
selection-end-line=
"133"
selection-end-column=
"35
"
/>
<first_editor
relative-caret-position=
"
262
"
>
<caret
line=
"1
22"
column=
"3"
lean-forward=
"true"
selection-start-line=
"122"
selection-start-column=
"3"
selection-end-line=
"122"
selection-end-column=
"3
"
/>
</first_editor>
<second_editor>
<markdownNavigatorState
/>
...
...
@@ -67,10 +69,19 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"pubspec.yaml"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"14"
selection-start-line=
"2"
selection-start-column=
"14"
selection-end-line=
"2"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"main.dart"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<state
relative-caret-position=
"-331"
>
<caret
line=
"1"
column=
"64"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"64"
selection-end-line=
"1"
selection-end-column=
"64"
/>
</state>
</provider>
...
...
@@ -101,7 +112,6 @@
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
hide()
</find>
<find>
loadUrl
</find>
<find>
showWebPage
</find>
<find>
InAppBrowserClient
</find>
...
...
@@ -131,6 +141,7 @@
<find>
InAppBrowser
</find>
<find>
presentationStyle
</find>
<find>
###
</find>
<find>
inAppBrowserFallback
</find>
</findStrings>
<replaceStrings>
<replace>
activity.getPreferences(0)
</replace>
...
...
@@ -167,11 +178,11 @@
<option
value=
"$PROJECT_DIR$/ios/flutter_inappbrowser.podspec"
/>
<option
value=
"$PROJECT_DIR$/example/ios/Podfile"
/>
<option
value=
"$PROJECT_DIR$/android/build.gradle"
/>
<option
value=
"$PROJECT_DIR$/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/CHANGELOG.md"
/>
<option
value=
"$PROJECT_DIR$/lib/flutter_inappbrowser.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/main.dart"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/pubspec.yaml"
/>
</list>
</option>
</component>
...
...
@@ -395,13 +406,13 @@
<window_info
anchor=
"bottom"
id=
"Dart Analysis"
order=
"14"
weight=
"0.32855567"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49644473"
weight=
"0.20384204"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
a
ctive=
"true"
a
nchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49644473"
visible=
"true"
weight=
"0.2561366"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"10"
sideWeight=
"0.49644473"
visible=
"true"
weight=
"0.2561366"
/>
<window_info
anchor=
"right"
id=
"Flutter Outline"
order=
"3"
weight=
"0.32922077"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"11"
/>
<window_info
id=
"Captures"
order=
"2"
weight=
"0.32936507"
/>
<window_info
id=
"Capture Tool"
order=
"2"
/>
<window_info
id=
"Designer"
order=
"2"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49855492"
visible=
"true"
weight=
"0.15069222"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
sideWeight=
"0.49855492"
visible=
"true"
weight=
"0.15069222"
/>
<window_info
id=
"Structure"
order=
"1"
sideWeight=
"0.5014451"
side_tool=
"true"
weight=
"0.18293472"
/>
<window_info
anchor=
"right"
id=
"Device File Explorer"
order=
"3"
side_tool=
"true"
/>
<window_info
anchor=
"right"
id=
"Theme Preview"
order=
"3"
/>
...
...
@@ -681,13 +692,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"14"
selection-start-line=
"2"
selection-start-column=
"14"
selection-end-line=
"2"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/android/build.gradle"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"462"
>
...
...
@@ -705,13 +709,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<caret
line=
"1"
column=
"64"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"64"
selection-end-line=
"1"
selection-end-column=
"64"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/CHANGELOG.md"
>
<provider
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
...
...
@@ -729,6 +726,13 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/lib/main.dart"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-331"
>
<caret
line=
"1"
column=
"64"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"64"
selection-end-line=
"1"
selection-end-column=
"64"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"247"
>
...
...
@@ -737,8 +741,8 @@
</provider>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;MarkdownPreviewEditor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"
331
"
>
<caret
line=
"1
33"
column=
"35"
selection-start-line=
"133"
selection-start-column=
"35"
selection-end-line=
"133"
selection-end-column=
"35
"
/>
<first_editor
relative-caret-position=
"
262
"
>
<caret
line=
"1
22"
column=
"3"
lean-forward=
"true"
selection-start-line=
"122"
selection-start-column=
"3"
selection-end-line=
"122"
selection-end-column=
"3
"
/>
</first_editor>
<second_editor>
<markdownNavigatorState
/>
...
...
@@ -746,6 +750,13 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"14"
selection-start-line=
"2"
selection-start-column=
"14"
selection-end-line=
"2"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
</component>
<component
name=
"masterDetails"
>
<states>
...
...
README.md
View file @
74d6180f
...
...
@@ -116,7 +116,7 @@ class _MyAppState extends State<MyApp> {
super
.
initState
();
// listen for post messages coming from the JavaScript side
int
indexTest
=
inAppBrowser
Fallback
.
addJavaScriptHandler
(
"handlerNameTest"
,
(
arguments
)
async
{
int
indexTest
=
inAppBrowser
.
addJavaScriptHandler
(
"handlerNameTest"
,
(
arguments
)
async
{
print
(
"handlerNameTest arguments"
);
print
(
arguments
);
// it prints: [1, 5, string, {key: 5}, [4, 6, 8]]
});
...
...
pubspec.yaml
View file @
74d6180f
name
:
flutter_inappbrowser
description
:
A Flutter plugin that allows you to open an in-app browser window. (inspired by the popular cordova-plugin-inappbrowser).
version
:
0.3.
0
version
:
0.3.
1
author
:
Lorenzo Pichilli <pichillilorenzo@gmail.com>
homepage
:
https://github.com/pichillilorenzo/flutter_inappbrowser
...
...
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