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
9ea8262f
Commit
9ea8262f
authored
4 years ago
by
Lorenzo Pichilli
Committed by
GitHub
4 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #645 from omralcrt/fix-method-name
Fix injectStyleFile name to injectCSSFileFromUrl
parents
3f2fe9e8
3ceff9b0
master
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/src/in_app_webview_controller.dart
lib/src/in_app_webview_controller.dart
+1
-1
No files found.
lib/src/in_app_webview_controller.dart
View file @
9ea8262f
...
@@ -1410,7 +1410,7 @@ class InAppWebViewController {
...
@@ -1410,7 +1410,7 @@ class InAppWebViewController {
Future
<
void
>
injectCSSFileFromUrl
({
required
String
urlFile
})
async
{
Future
<
void
>
injectCSSFileFromUrl
({
required
String
urlFile
})
async
{
Map
<
String
,
dynamic
>
args
=
<
String
,
dynamic
>{};
Map
<
String
,
dynamic
>
args
=
<
String
,
dynamic
>{};
args
.
putIfAbsent
(
'urlFile'
,
()
=>
urlFile
);
args
.
putIfAbsent
(
'urlFile'
,
()
=>
urlFile
);
await
_channel
.
invokeMethod
(
'inject
StyleFile
'
,
args
);
await
_channel
.
invokeMethod
(
'inject
CSSFileFromUrl
'
,
args
);
}
}
///Injects a CSS file into the WebView from the flutter assets directory.
///Injects a CSS file into the WebView from the flutter assets directory.
...
...
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