会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
braveheart007
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
14
15
16
17
18
19
20
21
22
···
33
下一页
2019年6月21日
rotating animation
摘要: 下面是一个示例,直接拷贝到main.dart运行即可,inkwell那部分的ontap可以不要的!这个旋转动画的最关键代码就是: ..repeat() 注意:两个点哦!参考视频:https://www.bilibili.com/video/av55835996?from=search&seid=17
阅读全文
posted @ 2019-06-21 08:40 braveheart007
阅读(244)
评论(0)
推荐(0)
2019年6月19日
CenteOS
摘要: linux 下 apache启动、停止、重启命令 如果apache安装成为linux的服务的话,可以用以下命令操作:service httpd start 启动(重定向:/bin/systemctl start httpd.service)service httpd restart 重新启动serv
阅读全文
posted @ 2019-06-19 15:20 braveheart007
阅读(446)
评论(0)
推荐(0)
2019年6月18日
外键约束
摘要: 创建表时添加外键约束: [CONSTRAINT<外键约束名>] FOREIGN KEY(列名) references <主表名> (主键) 修改表时添加外键约束: ALTER TABLE bookinfo ADD FOREIGN KEY(book_category_id) REFERENCES bo
阅读全文
posted @ 2019-06-18 15:24 braveheart007
阅读(380)
评论(0)
推荐(0)
2019年6月17日
文件读写
摘要: 获取文件地址并返回该文件(获取路径是anync await异步操作): Future<File> _getLocalFile() async { String dir = (await getApplicationDocumentsDirectory()).path; // get the path
阅读全文
posted @ 2019-06-17 20:52 braveheart007
阅读(391)
评论(0)
推荐(0)
apache flask wsgi
摘要: 如果用户只是请求显示静态网页,那么apache足够用了; 但是如果需要根据用户提交的数据动态的返回内容,那么apache是远远不够的,我们需要WSGI, 即:web service gate interface WSGI根据用户请求数据响应,而非单纯提供静态页面,但是如果成百上千的动态请求的时候,W
阅读全文
posted @ 2019-06-17 14:23 braveheart007
阅读(163)
评论(0)
推荐(0)
参考资料flutter
摘要: 某位大神的博客:https://www.jianshu.com/u/312aad1f1c8b
阅读全文
posted @ 2019-06-17 12:40 braveheart007
阅读(100)
评论(0)
推荐(0)
CachedNetworkImage 图片缓存
摘要: CachedNetworkImage( imageUrl: "http://via.placeholder.com/350x150", placeholder: (context, url) => new CircularProgressIndicator(), errorWidget: (cont
阅读全文
posted @ 2019-06-17 11:01 braveheart007
阅读(3523)
评论(0)
推荐(0)
2019年6月15日
ExpansionTile
摘要: ExpansionTile( backgroundColor: Colors.orangeAccent, title: Text('hello'), leading: Icon(Icons.widgets), children: <Widget>[ ListTile( title: Text('ti
阅读全文
posted @ 2019-06-15 22:02 braveheart007
阅读(161)
评论(0)
推荐(0)
flask入门
摘要: 保存如下程序为:flaskapp.py from flask import Flaskapp = Flask(__name__) @app.route('/hello')def hello_world(): return 'hello world!' if __name__=='__main__':
阅读全文
posted @ 2019-06-15 09:48 braveheart007
阅读(93)
评论(0)
推荐(0)
2019年6月14日
raisedbutton shape
摘要: RaisedButton( child:Text('delete'), clipBehavior: Clip.antiAliasWithSaveLayer, color: Colors.orangeAccent, shape: RoundedRectangleBorder(borderRadius:
阅读全文
posted @ 2019-06-14 23:52 braveheart007
阅读(313)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
33
下一页
公告