如何处理点击和拖拽。
The drawer menu displays a list of titles, followed by a Get started button at the bottom of the menu. Define a stateful widget called Menu that displays the list and button in static locations.
在创建遵循 Material Design 设计规范的应用时,我们希望应用可以有一个一致的视觉层次结构。当我们在屏幕的底部显示一个 SnackBar 时,不能覆盖其他重要的 widgets,比如 FloatingActionButton。. 用 material library 中的 Scaffold widget 就可以创建一个一致的视觉层次结构,并且可以确保其他重要的 widgets 不会被 ...