Skip to content

Commit bae56f5

Browse files
ryan-bergertneotia
authored andcommitted
parent 4406a4f
author Ryan Berger <[email protected]> 1596906540 -0600 committer tanay <[email protected]> 1612640392 -0500 Merge changes (fix conflicting files)
1 parent 4406a4f commit bae56f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+644
-387
lines changed
-51.2 KB
Loading
-113 KB
Loading

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
.pub-cache/
1313
.pub/
1414
build/
15-
15+
pubspec.lock
1616
# Android related
1717
**/android/**/gradle-wrapper.jar
1818
**/android/.gradle

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## [1.2.0] - January 14, 2021:
2+
* Support irregular table sizes
3+
* Allow for returning `null` from a customRender function to disable the widget
4+
5+
## [1.1.1] - November 22, 2020:
6+
* Update dependencies
7+
8+
## [1.1.0] - November 22, 2020:
9+
* Add support for inline styles
10+
* Update dependencies
11+
12+
## [1.0.2] - August 8, 2020:
13+
* Fix text scaling issues
14+
* Update dependencies
15+
16+
## [1.0.1] - August 8, 2020:
17+
* Fixed flutter_svg: ^0.18.0
18+
119
# [1.0.0]
220
* BREAKING CHANGES (see the [Migration Guide](https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide) for a full overview of breaking changes.):
321
* The default parser has been completely rewritten and the RichText parser has been removed.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A Flutter widget for rendering html and css as Flutter widgets.
1717
Add the following to your `pubspec.yaml` file:
1818

1919
dependencies:
20-
flutter_html: ^1.0.0
20+
flutter_html: ^1.2.0
2121

2222
## Currently Supported HTML Tags:
2323
`a`, `abbr`, `acronym`, `address`, `article`, `aside`, `b`, `bdi`, `bdo`, `big`, `blockquote`, `body`, `br`, `caption`, `cite`, `code`, `data`, `dd`, `del`, `dfn`, `div`, `dl`, `dt`, `em`, `figcaption`, `figure`, `footer`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `header`, `hr`, `i`, `img`, `ins`, `kbd`, `li`, `main`, `mark`, `nav`, `noscript`, `ol`, `p`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `section`, `small`, `span`, `strike`, `strong`, `sub`, `sup`, `table`, `tbody`, `td`, `template`, `tfoot`, `th`, `thead`, `time`, `tr`, `tt`, `u`, `ul`, `var`
@@ -80,4 +80,4 @@ this project has expanded to include support for basic styling as well!.
8080
## Contribution Guide
8181
> Coming soon!
8282
>
83-
> Meanwhile, PRs are always welcome
83+
> Meanwhile, PRs are always welcome

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.example.example">
33

4-
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
5-
calls FlutterMain.startInitialization(this); in its onCreate method.
6-
In most cases you can leave this as-is, but you if you want to provide
7-
additional functionality it is fine to subclass or reimplement
8-
FlutterApplication and put your custom class here. -->
4+
<uses-permission android:name="android.permission.INTERNET"/>
5+
96
<application
10-
android:name="io.flutter.app.FlutterApplication"
117
android:label="example"
128
android:icon="@mipmap/ic_launcher">
139
<activity
14-
android:name=".MainActivity"
10+
android:name="io.flutter.embedding.android.FlutterActivity"
1511
android:launchMode="singleTop"
1612
android:theme="@style/LaunchTheme"
1713
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1814
android:hardwareAccelerated="true"
1915
android:windowSoftInputMode="adjustResize">
20-
<!-- This keeps the window background of the activity showing
21-
until Flutter renders its first frame. It can be removed if
22-
there is no splash screen (such as the default splash screen
23-
defined in @style/LaunchTheme). -->
24-
<meta-data
25-
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
26-
android:value="true" />
2716
<intent-filter>
2817
<action android:name="android.intent.action.MAIN"/>
2918
<category android:name="android.intent.category.LAUNCHER"/>
3019
</intent-filter>
20+
21+
<meta-data
22+
android:name="io.flutter.embedding.android.SplashScreenDrawable"
23+
android:resource="@drawable/launch_background" />
24+
<meta-data
25+
android:name="io.flutter.embedding.android.NormalTheme"
26+
android:resource="@style/NormalTheme" />
3127
</activity>
28+
29+
<meta-data
30+
android:name="flutterEmbedding"
31+
android:value="2" />
3232
</application>
3333
</manifest>

example/android/app/src/main/java/com/example/example/MainActivity.java

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

example/android/app/src/main/kotlin/com/example/example/MainActivity.kt

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
4-
<!-- Show a splash screen on the activity. Automatically removed when
5-
Flutter draws its first frame -->
4+
<item name="android:windowBackground">@drawable/launch_background</item>
5+
</style>
6+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
67
<item name="android:windowBackground">@drawable/launch_background</item>
78
</style>
89
</resources>

0 commit comments

Comments
 (0)