会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
pp/ing
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2020年1月11日
多个过渡动画效果
摘要: 代码: // //动画实现 // return FadeTransition( // opacity: Tween(begin: 0.0,end: 1.0)//类似于alpha 透明度效果 // .animate(CurvedAnimation( // parent: animation1,//默认
阅读全文
posted @ 2020-01-11 16:05 pp/ing
阅读(340)
评论(0)
推荐(0)
编辑
压栈过渡动画
摘要: 重写过渡动画代码: import 'package:flutter/material.dart'; class CustomRoute extends PageRouteBuilder { final Widget widget; CustomRoute(this.widget)//重写构造方法 调
阅读全文
posted @ 2020-01-11 15:34 pp/ing
阅读(254)
评论(0)
推荐(0)
编辑
2020年1月10日
底部不规则导航栏2
摘要: 代码1: 动态布局基础文件 import 'package:flutter/material.dart'; class EveryPage extends StatefulWidget { String _title; EveryPage(this._title); @override _Every
阅读全文
posted @ 2020-01-10 11:29 pp/ing
阅读(244)
评论(0)
推荐(0)
编辑
2020年1月9日
自定义底部导航栏-悬浮球
摘要: 代码1: import 'package:flutter/material.dart'; import 'bottomAppBarDemo.dart'; void main(List<String> args) { runApp(MyApp()); } class MyApp extends Sta
阅读全文
posted @ 2020-01-09 19:17 pp/ing
阅读(587)
评论(0)
推荐(0)
编辑
底部导航栏2
摘要: 代码: import 'package:flutter/material.dart'; import 'pages/ariplay_screen.dart'; import 'pages/email_screen.dart'; import 'pages/home_screen.dart'; imp
阅读全文
posted @ 2020-01-09 18:36 pp/ing
阅读(159)
评论(0)
推荐(0)
编辑
底部导航栏1
摘要: 代码 import 'package:flutter/material.dart'; class BottomNavigationWidget extends StatefulWidget { _BottomNavigationWidgetState createState() => _Bottom
阅读全文
posted @ 2020-01-09 17:26 pp/ing
阅读(213)
评论(0)
推荐(0)
编辑
2020年1月8日
flutter listView2
摘要: 代码: import 'package:flutter/material.dart'; void main() => runApp(MyTestApp()); class MyTestApp extends StatelessWidget{ @override Widget build(BuildC
阅读全文
posted @ 2020-01-08 17:18 pp/ing
阅读(184)
评论(0)
推荐(0)
编辑
flutter ListView
摘要: 代码: import 'package:flutter/material.dart'; void main() => runApp(MyTestApp()); class MyTestApp extends StatelessWidget{ Widget build(BuildContext con
阅读全文
posted @ 2020-01-08 17:18 pp/ing
阅读(217)
评论(0)
推荐(0)
编辑
flutter text 样式
摘要: 代码: body: Center( child: Container( child: new Text('哈哈哈哈哈哈哈哈哈哈哈哈哈哈或哈哈哈哈哈哈哈',style: TextStyle(fontSize: 35)), alignment: Alignment.topLeft, width: 550
阅读全文
posted @ 2020-01-08 17:18 pp/ing
阅读(657)
评论(0)
推荐(0)
编辑
flutter image样式
摘要: 代码: child: Container( child: new Image.network( 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1578312966654&di=09a975b6c05a1447
阅读全文
posted @ 2020-01-08 17:18 pp/ing
阅读(511)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
···
10
下一页
公告