FilledStacks / FilledStacks/responsive_builder
[FLUTTER WEB] Cannot detect landscape mode on mobile.
- Dominant language
- Dart
- Stars
- 524
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
I have read the docs about your package. I decided using it for my website. But one thing i wanna know.
Is this package can detect phone or tablet screen but in landscape mode. Thank you very much
```
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: ScreenTypeLayout.builder(
mobile: (BuildContext context) => OrientationLayoutBuilder(
portrait: (context) => Container(color: Colors.green),
landscape: (context) => Container(color: Colors.orange),
),
tablet: (BuildContext context) => Container(color: Colors.yellow),
desktop: (BuildContext context) => Container(color: Colors.red),
watch: (BuildContext context) => Container(color: Colors.purple),
),
);
}
}
```
I tried this code above but it's not working as my expectation

I think it should be orange
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.