Skip to content

Commit 8391d56

Browse files
author
Nguyen Dat
committed
migration 2.0.0
2 parents 9639cdb + 4688f1a commit 8391d56

34 files changed

+2109
-870
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pubspec.lock
3939
**/ios/**/profile
4040
**/ios/**/xcuserdata
4141
**/ios/.generated/
42+
**/ios/Flutter/.last_build_id
4243
**/ios/Flutter/App.framework
4344
**/ios/Flutter/Flutter.framework
4445
**/ios/Flutter/Generated.xcconfig

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## [2.0.0-nullsafety.0] - March 5, 2021:
2+
* Nullsafety support
3+
* Official Flutter Web support
4+
* New features & fixes for lists:
5+
* Support start attribute (e.g. `start="5";`)
6+
* Support RTL direction
7+
* Support setting padding - you can remove the starting padding if you choose
8+
* Fixed unknown character box on iOS when font-weight is below w400
9+
* Upgraded link functions to provide more granular control
10+
* Fixed errors in text-decoration parsing
11+
* Fixed `<audio>` on iOS ("_duration called on null" exception)
12+
* Updated dependencies
13+
14+
## [1.3.0] - February 16, 2021:
15+
* New image loading API
16+
* Image loading with request headers, from relative paths and custom loading widget
17+
* SVG image support from network or local assets
18+
* Support for `<details>`/`<summary>` tags
19+
* Allow returning spans from custom tag renders
20+
* Inline font styling
21+
* Content-based table column sizing
22+
* Respect iframe sandbox attribute
23+
* Fixed text flow and styling when using tags inside `<a>` links
24+
* Fixed issue where `shrinkWrap` property would not constrain the widget to take up the space it needs
25+
* See the [Notes](https://github.com/Sub6Resources/flutter_html#notes) for an example usage with `shrinkWrap`
26+
* Fixed issue where iframes would not update when their `src`s changed in the HTML data
27+
* Updated dependencies for Flutter 1.26+
28+
129
## [1.2.0] - January 14, 2021:
230
* Support irregular table sizes
331
* Allow for returning `null` from a customRender function to disable the widget

README.md

Lines changed: 637 additions & 51 deletions
Large diffs are not rendered by default.

example/assets/html5.png

40.6 KB
Loading

example/assets/mac.svg

Lines changed: 3 additions & 0 deletions
Loading

example/ios/Flutter/Flutter.podspec

Lines changed: 0 additions & 18 deletions
This file was deleted.

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ EXTERNAL SOURCES:
2424
:path: ".symlinks/plugins/webview_flutter/ios"
2525

2626
SPEC CHECKSUMS:
27-
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
27+
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
2828
video_player: 9cc823b1d9da7e8427ee591e8438bfbcde500e6e
2929
wakelock: bfc7955c418d0db797614075aabbc58a39ab5107
3030
webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96
3131

3232
PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d
3333

34-
COCOAPODS: 1.10.0
34+
COCOAPODS: 1.10.1

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@
151151
97C146EC1CF9000F007C117D /* Resources */,
152152
9705A1C41CF9048500538489 /* Embed Frameworks */,
153153
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
154-
450FC00D9CC4F56F4423DF9E /* [CP] Embed Pods Frameworks */,
155154
);
156155
buildRules = (
157156
);
@@ -224,24 +223,6 @@
224223
shellPath = /bin/sh;
225224
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
226225
};
227-
450FC00D9CC4F56F4423DF9E /* [CP] Embed Pods Frameworks */ = {
228-
isa = PBXShellScriptBuildPhase;
229-
buildActionMask = 2147483647;
230-
files = (
231-
);
232-
inputPaths = (
233-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
234-
"${PODS_ROOT}/../Flutter/Flutter.framework",
235-
);
236-
name = "[CP] Embed Pods Frameworks";
237-
outputPaths = (
238-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
239-
);
240-
runOnlyForDeploymentPostprocessing = 0;
241-
shellPath = /bin/sh;
242-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
243-
showEnvVarsInLog = 0;
244-
};
245226
8446656B443667928C090391 /* [CP] Check Pods Manifest.lock */ = {
246227
isa = PBXShellScriptBuildPhase;
247228
buildActionMask = 2147483647;

example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// Generated file. Do not edit.
3+
//
4+
5+
// ignore_for_file: lines_longer_than_80_chars
6+
7+
import 'package:video_player_web/video_player_web.dart';
8+
import 'package:wakelock_web/wakelock_web.dart';
9+
10+
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
11+
12+
// ignore: public_member_api_docs
13+
void registerPlugins(Registrar registrar) {
14+
VideoPlayerPlugin.registerWith(registrar);
15+
WakelockWeb.registerWith(registrar);
16+
registrar.registerMessageHandler();
17+
}

0 commit comments

Comments
 (0)