Created: 2021-08-25 Wed 02:19
今天會講到
var result = await Process.run('ls', ['-l']);
& dart compile exe my_cli_cmd.dart
Mobile 不常做,但在 Desktop 很重要
Flutter 官方文件:
[https://api.flutter.dev/flutter/material/Scrollbar/controller.html]
If nothing is passed to controller, the default behavior is to automatically enable scrollbar dragging on the nearest ScrollController using PrimaryScrollController.of.
意思是,只要不是 PrimaryScrollController,如果不指定 controller 就會有問題