fluttercommunity / fluttercommunity/chewie

Theme can not apply when full screen !

Open
#452 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
1.1k
Avg merge
6d 8h
Merged PRs (30d)
6

Description


Screen Shot 2021-03-09 at 18 23 25

Screen Shot 2021-03-09 at 18 23 44

This is my code :
```
....
Widget _buildBody() {
return Column(
children: [
_appbar(),
Expanded(
child: Stack(
children: [
_chewieController != null
? Theme(
data: Theme.of(Get.context).copyWith(
dialogBackgroundColor: Colors.black.withOpacity(0.5),
iconTheme: IconThemeData(color: Colors.white),
),
child: DefaultTextStyle(
style: TextStyle(color: Colors.white),
child: Chewie(
controller: _chewieController,
),
),
)
: Center(child: CircularProgressIndicator()),
],
),
),
],
);
}
```

How to fix it?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.