上一页 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日

摘要: 代码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) 编辑
 
摘要: 代码: 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) 编辑
 
摘要: 代码 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日

摘要: 代码: 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) 编辑
 
摘要: 代码: 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) 编辑
 
摘要: 代码: 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) 编辑
 
摘要: 代码: 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 下一页