What's the big green right arrow (-->) mean in DevTools with Flutter?
I guess it's related to the interactable area, but I'm not sure.
The code is the same as in Flutter, Page two can't click when it's on Page 1. Here is the simplified code:
PageController _controller = PageController(initialPage: 0, viewportFraction: 0.5);
@override
Widget build(BuildContext context) {
return Container(
color: Colors.yellow,
child: PageView(
controller: _controller,
children: <Widget>[
Center(
child: FlatButton(
onPressed: () {},
color: Colors.red,
child: Text('First Tab'),
),
),
Center(
child: FlatButton(
onPressed: () {},
color: Colors.blue,
child: Text('Second Tab'),
),
),
Center(
child: FlatButton(
onPressed: () {},
color: Colors.green,
child: Text('Third Tab'),
),
),
],
),
);
}
Flutter Debugging : It is a suite of performance and profiling tools run on a browser. Logging: Logging view widget Inspector working in DevTools and also indirectly from the Android Studio & IntelliJ. The inspector allows checking the visual representation of widget trees.
DevTools is a tooling suite for Flutter and Dart developers consisting of layout inspection tools, performance tools, memory tools & many other debugging tools that you need to be an efficient and effective Flutter developer, all bundled into a single web suite for you!
These green arrows in the so-called "Debug Paint" indicate scroll views.
The direction of the arrows shows which way the scroll view extends, i.e. the arrows will either point to the right or down.
This will appear for e.g. ListView
, SingleChildScrollView
etc.
Learn more about visual debugging in Flutter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With