flutter 渐变
We recently looked at how to create our first Flutter app. Next up, we’re going to investigate how we can add a gradient background, because they’re so cool!
最近,我们研究了如何创建第一个Flutter应用程序 。 接下来,我们将研究如何添加渐变背景,因为它们非常酷!
To ensure we’re all playing the same game - go ahead and create a Flutter application by running the following:
为确保我们都玩同一游戏-继续运行以下步骤,创建Flutter应用程序:
$ flutter create flutter_gradient
$ cd flutter_gradient
$ code .
# run this on an iOS/Android simulator