Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
The current repo belongs to Closed status, and some functions are restricted. For details, please refer to the
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
37
Star
179
Fork
209
OpenHarmony-SIG
/
flutter_engine
Closed
Code
Issues
128
Pull Requests
9
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
205
FlutterPage支持自定义加载样式
Merged
hazy:dev
OpenHarmony-SIG:dev
hazy
create on 2024-04-10 19:45
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
FlutterPage自定义加载样式的示例 ``` import common from '@ohos.app.ability.common'; import { FlutterPage } from '@ohos/flutter_ohos'; let storage = LocalStorage.getShared() const EVENT_BACK_PRESS = 'EVENT_BACK_PRESS' @Entry(storage) @Component struct Index { private context = getContext(this) as common.UIAbilityContext @LocalStorageLink('viewId') viewId: string = ""; @Builder componentBuilder() { // 自定义加载界面的样式 Column() { Text("Loading...") } } build() { Column() { // FlutterPage({viewId: this.viewId}) FlutterPage({ viewId: this.viewId, splashScreenView: this.componentBuilder, xComponentType: XComponentType.TEXTURE }).backgroundColor(Color.Transparent) } } onBackPress(): boolean { this.context.eventHub.emit(EVENT_BACK_PRESS) return true } } ```
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
zjzhu
Pass review
aibin
Pass review
lihui
Pass review
Completed
(3/1 )
Tester
openharmony_ci
Pass test
Completed
(1/1 )
How to merge Pull Request
git checkout dev
git pull https://gitee.com/hezySign/flutter_engine.git dev
git push origin dev
Comments
4
Commits
1
Files
4
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
openharmony_dcp
openharmony_dcp
zjzhu
appproject
aibin
binai
lihui
lihui868
gxzmf
gxzmf
mamingshuai
landwind
openharmony_ci
openharmony_ci
No Setting
Min number
1
Tester
openharmony_dcp
openharmony_dcp
zjzhu
appproject
aibin
binai
lihui
lihui868
gxzmf
gxzmf
mamingshuai
landwind
openharmony_ci
openharmony_ci
No Setting
Min number
1
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
静态检查成功
dco检查成功
编译成功
Link Issue
I9FM0X
FlutterPage支持自定义加载样式
Successfully merged pull requests will close issues
Milestone
No related milestones
Participators
(2)
1
https://gitee.com/openharmony-sig/flutter_engine.git
git@gitee.com:openharmony-sig/flutter_engine.git
openharmony-sig
flutter_engine
flutter_engine
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register