Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
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
1
Merge Requests
1
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_boost_1.22.4
Commits
b1dac931
Commit
b1dac931
authored
Mar 02, 2020
by
justin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release a new version
parent
7fb8b435
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
10 deletions
+18
-10
CHANGELOG.md
CHANGELOG.md
+3
-0
README.md
README.md
+5
-2
README_CN.md
README_CN.md
+4
-2
lib/container/boost_container.dart
lib/container/boost_container.dart
+2
-2
lib/container/container_coordinator.dart
lib/container/container_coordinator.dart
+1
-1
lib/container/container_manager.dart
lib/container/container_manager.dart
+2
-2
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
b1dac931
## 1.12.13
Supported Flutter sdk 1.12.13
## 1.9.1+2
Rename the version number and start supporting androidx by default, Based on the flutter 1.9.1 - hotfixs。
...
...
README.md
View file @
b1dac931
...
...
@@ -30,6 +30,9 @@ You need to add Flutter to your project before moving on.The version of the flut
| 0.1.61-0.1.69 | 1.9.1-hotfixes | bugfix for 0.1.60. | No |
| 0.1.63 | 1.9.1-hotfixes | If other branches will compile incorrectly. Synchronize with the 0.1.60 code, and bugfix also merge to this branch. | No |
| 1.9.1+2 | 1.9.1-hotfixes | Rename the version number and start supporting androidx by default | Yes |
| 1.12.13 | 1.12.13-hotfixes | supporting androidx | Yes |
...
...
@@ -53,14 +56,14 @@ androidx branch
flutter_boost:
git:
url:
'https://github.com/alibaba/flutter_boost.git'
ref:
'
1.
9
.
1
+
2
'
ref:
'
1.
12
.
13
'
```
support branch
```
json
flutter_boost:
git:
url:
'https://github.com/alibaba/flutter_boost.git'
ref:
'task/task_v
1.
9
.
1
_support_hotfixes'
ref:
'task/task_v
1.
12
.
13
_support_hotfixes'
```
...
...
README_CN.md
View file @
b1dac931
...
...
@@ -30,6 +30,7 @@
| 0.1.63 | 1.9.1-hotfixes | 和 0.1.60 代码同步, bugfix 也会合入该分支,如果其他分支会编译错误。 | No |
| 0.1.61-0.1.69 | 1.9.1-hotfixes | 0.1.60 的 bugfix。 | No |
| 1.9.1+2 | 1.9.1-hotfixes | 版本号重新命名,开始默认支持androidx | Yes |
| 1.12.13 | 1.12.13 -hotfixes | 支持androidx | Yes |
...
...
@@ -55,14 +56,15 @@ androidx branch
flutter_boost:
git:
url:
'https://github.com/alibaba/flutter_boost.git'
ref:
'
1.9
.
1
+
2
'
ref:
'
1.12
.
13
'
```
support branch
```
json
flutter_boost:
git:
url:
'https://github.com/alibaba/flutter_boost.git'
ref:
'task/task_v
1.9
.
1
_support_hotfixes'
ref:
'task/task_v
1.12
.
13
_support_hotfixes'
```
...
...
lib/container/boost_container.dart
View file @
b1dac931
...
...
@@ -100,13 +100,13 @@ class BoostContainer extends Navigator {
static
BoostContainerState
tryOf
(
BuildContext
context
)
{
final
BoostContainerState
container
=
context
.
ancestorStateOfType
(
const
TypeMatcher
<
BoostContainerState
>()
);
context
.
findAncestorStateOfType
<
BoostContainerState
>(
);
return
container
;
}
static
BoostContainerState
of
(
BuildContext
context
)
{
final
BoostContainerState
container
=
context
.
ancestorStateOfType
(
const
TypeMatcher
<
BoostContainerState
>()
);
context
.
findAncestorStateOfType
<
BoostContainerState
>(
);
assert
(
container
!=
null
,
'not in flutter boost'
);
return
container
;
}
...
...
lib/container/container_coordinator.dart
View file @
b1dac931
...
...
@@ -270,7 +270,7 @@ class ContainerCoordinator {
performContainerLifeCycle
(
_createContainerSettings
(
name
,
params
,
pageId
),
ContainerLifeCycle
.
Destroy
);
}
catch
(
e
)
{
Logger
.
log
(
'nativeContainerWillDealloc error:
$
{e}
'
);
Logger
.
log
(
'nativeContainerWillDealloc error:
$
e
'
);
}
FlutterBoost
.
containerManager
?.
remove
(
pageId
);
...
...
lib/container/container_manager.dart
View file @
b1dac931
...
...
@@ -47,13 +47,13 @@ class BoostContainerManager extends StatefulWidget {
static
ContainerManagerState
tryOf
(
BuildContext
context
)
{
final
ContainerManagerState
manager
=
context
.
ancestorStateOfType
(
const
TypeMatcher
<
ContainerManagerState
>()
);
context
.
findAncestorStateOfType
<
ContainerManagerState
>(
);
return
manager
;
}
static
ContainerManagerState
of
(
BuildContext
context
)
{
final
ContainerManagerState
manager
=
context
.
ancestorStateOfType
(
const
TypeMatcher
<
ContainerManagerState
>()
);
context
.
findAncestorStateOfType
<
ContainerManagerState
>(
);
assert
(
manager
!=
null
,
'not in flutter boost'
);
return
manager
;
}
...
...
pubspec.yaml
View file @
b1dac931
name
:
flutter_boost
description
:
A next-generation Flutter-Native hybrid solution. FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts.
version
:
1.
9.1+2
version
:
1.
12.13
author
:
Alibaba Xianyu
homepage
:
https://github.com/alibaba/flutter_boost
...
...
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