alibaba / alibaba/flutter_boost

WidgetsFlutterBinding.ensureInitialized();

Open
#1,734 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

## Steps to Reproduce
**A small application to reproduce the bug(最小化可复现的demo)**

1. ...
2. ...
3. ...

**Flutter Boost Version**
**Target Platform:**
**Target OS version/browser:**
**Devices:**

## Logs
add your crash log or something else.

```
```///创建一个自定义的Binding,继承和with的关系如下,里面什么都不用写
class CustomFlutterBinding extends WidgetsFlutterBinding
with BoostFlutterBinding {}
和 WidgetsFlutterBinding.ensureInitialized(); 这两个可以共存吗?
我现在推送必须使用这句代码,加上后会和CustomFlutterBinding 冲突,WidgetsFlutterBinding.ensureInitialized();如何使用?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the repository README and the Flutter binding entry points referenced in the report: CustomFlutterBinding, BoostFlutterBinding, and WidgetsFlutterBinding.ensureInitialized(). Reproduce the conflict in a minimal Flutter application, then verify and document the initialization behavior and expected compatible usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.