“Everything is a widget” 是指所有代码片段都可以用Widget表示,并非指Flutter只有Widget。有点类似函数第一性,Widget是Flutter的页面构成单位,Style,Animation,Lists,Text,Button…这些都可以用Widget 表示,Widget嵌套是Flutter的应用构建方式。举例来说,并没有一个统一的叫App的作为应用入口,所有的Widget理论上都可以作为应用的入口。Flutter当然也包含其他非Widget的对象。
2020-12-02 16:14:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started. 2020-12-02 16:14:17+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’ 2020-12-02 16:14:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started. 2020-12-02 16:14:17+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD
显然,需要提供更多参数以便运行mysql,如日志所述,可以运行如下命令设置一个root密码
1
docker run --name=mysql_server -e MYSQL_ROOT_PASSWORD=12345 -p3306:3306 -p33060:33060 -d mysql
================================================= analyze Analyze the project's Dart code. compile Compile Dart to various formats. create Create a new project. format Idiomatically format Dart source code. migrate Perform a null safety migration on a project or package. pub Work with packages. run Run a Dart program. test Run tests in this package. =================================================
“Everything is a widget” 是指所有代码片段都可以用Widget表示,并非指Flutter只有Widget。有点类似函数第一性,Widget是Flutter的页面构成单位,Style,Animation,Lists,Text,Button…这些都可以用Widget 表示,Widget嵌套是Flutter的应用构建方式。举例来说,并没有一个统一的叫App的作为应用入口,所有的Widget理论上都可以作为应用的入口。Flutter当然也包含其他非Widget的对象。
## 安装hexo,需要配置nodejs环境 npm install hexo -g ## 创建博客,目录名任意,此处为blog hexo create blog ## 进入blog cd blog
修改配置文件
配置文件 _config.yml
1 2 3 4
# URL节调整如下 ## If your site is put in a subdirectory, set url as 'http://example.com/child' and root as '/child/' url:https://q0519.gitee.io/blog root:/blog/