• 等级
  • 8490 访问
  • 124 原创
  • 1 转发
  • 380023 排名
  • 1 评论
  • 7 获赞

Flutter组件-Bar-FlexibleSpaceBar-可折叠的应用栏

防采集标记:亢少军老师的课程和资料FlexibleSpaceBar组件效果图示例代码import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildCo...

2019-02-08 15:42:58

Flutter组件-GridView-网格组件

防采集标记:亢少军老师的课程和资料网格组件效果图fonts:-family:FontAwesomefonts:-asset:fonts/FontAwesome.ttf步骤3打开FontAwesome.json文件找到图标对应的code.添加IconData代码如下:IconData(//code...

2019-02-03 21:30:11

Flutter组件-Icon-IconData-字体图标

防采集标记:亢少军老师的课程和资料字体图标效果图步骤1下载react-native-vector-icons找到dist目录下的FontAwesome.ttf文件把它copy到工程的fonts目录下。步骤2在pubspec.yaml里添加字体配置fonts:-family:FontAwesomefonts:-asset:fonts/...

2019-01-31 17:59:13

Flutter插件开发-电子白板插件-开源项目

防采集标记:亢少军老师的课程和资料flutter_touchvgaflutterwhiteboardplugin.Usagegitclonehttps://github.com/kangshaojun/flutter_touchvg.gitcdflutter_touchvgflutterpackagesgetflutterrunscreenshotsiOS...

2019-01-30 18:21:53

Flutter技术文章索引

防采集标记:亢少军老师的课程和资料文章索引Flutter组件大全:Flutter组件-Slider-SliderTheme-滑块主题Flutter组件-Layout-Row-水平布局Flutter组件-Box-DecoratedBox-装饰容器Flutter组件-Button-RaisedButton-凸起按钮Flutter组件-Input-TextField-文本输入框Flutt...

2019-01-30 13:40:45

Flutter组件-Slider-SliderTheme-滑块主题

防采集标记:亢少军老师的课程和资料SliderTheme效果图示例代码import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextc...

2019-01-30 13:23:14

Flutter组件-Table-表格组件

防采集标记:亢少军老师的课程和资料Table效果图示例代码import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext)...

2019-01-30 09:41:07

Flutter组件-Layout-Row-水平布局

防采集标记:亢少军老师的课程和资料水平布局效果图示例代码import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext)...

2019-01-29 17:22:06

Flutter组件-Box-DecoratedBox-装饰容器

防采集标记:亢少军老师的课程和资料示例代码import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext){re...

2019-01-29 17:15:48

Flutter组件-Button-RaisedButton-凸起按钮

防采集标记:亢少军老师的课程和资料示例代码//文档地址:https://docs.flutter.io/flutter/material/RaisedButton-class.htmlimport'package:flutter/material.dart';import'dart:math';voidmain(){runApp(newMaterialApp(...

2019-01-28 13:05:43

Flutter组件-Input-TextField-文本输入框

防采集标记:亢少军老师的课程和资料示例代码//文档地址:https://docs.flutter.io/flutter/material/TextField-class.htmlimport'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsState...

2019-01-28 12:54:19

Flutter组件-CheckBoxListTitle组件

防采集标记:亢少军老师的课程和资料示例代码import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext){ret...

2019-01-26 20:11:30

Flutter插件开发-电池电量管理插件示例

title:电池电量管理插件示例以下说明了怎么调用平台特定的接口来取得并显示当前的电池电量。通过单独的一个的平台消息,使用AndroidBatteryManager接口,和iOSdevice.batteryLevel接口。注意:这个示例完整可运行的代码在这儿/examples/platform_channel/,该版本使用Java开发Android,Objective-C...

2019-01-26 10:50:31

第7章页面布局-IndexStack布局

防采集标记:亢少军老师的课程和资料import'package:flutter/material.dart';voidmain(){runApp(newMaterialApp(title:'IndexedStack布局示例',home:newMyApp(),));}classMyAppextendsStatelessWidget...

2019-01-25 10:15:43

第12章动画-AnimatedOpacity实现渐变效果

防采集标记:亢少军老师的课程和资料import'package:flutter/material.dart';voidmain(){runApp(newMyApp());}classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext){final...

2019-01-25 10:15:43

第12章动画-Hero页面切换动画

防采集标记:亢少军老师的课程和资料import'package:flutter/material.dart';voidmain(){runApp(newMaterialApp(title:'页面切换动画',home:newFirstPage(),));}classFirstPageextendsStatelessWidge...

2019-01-25 10:15:43

第10章路由及导航 -页面跳转返回数据

防采集标记:亢少军老师的课程和资料import'package:flutter/material.dart';voidmain(){runApp(newMaterialApp(title:'页面跳转返回数据示例',home:newFirstPage(),));}classFirstPageextendsStatelessW...

2019-01-25 10:15:43

第10章路由及导航 -页面跳转发送数据

防采集标记:亢少军老师的课程和资料import'package:flutter/material.dart';classProduct{finalStringtitle;finalStringdescription;Product(this.title,this.description);}voidmain(){runApp(newM...

2019-01-25 10:15:43

第10章路由及导航 -页面跳转基本使用

防采集标记:亢少军老师的课程和资料import'package:flutter/material.dart';voidmain(){runApp(newMaterialApp(title:'导航页面示例',home:newFirstScreen(),));}classFirstScreenextendsStatelessWidg...

2019-01-25 10:15:43

第3章Dart语言简述-Getters和Setters

防采集标记:亢少军老师的课程和资料classRectangle{numleft;numtop;numwidth;numheight;Rectangle(this.left,this.top,this.width,this.height);//获取right值numgetright=>left+...

2019-01-25 10:15:43

博客专家

亢少军

捷智云视频会议系统联合创始人,国内首本Flutte r出版书籍作者,著有《Flutter技术入门与实战》。多年从事流媒体技术研发,对于Android,iOS等开发技术有比较深入的研究和应用,作为主要程序员开发了多个应用项目,涉及医疗、交通、银行等领域。 ...展开 收起
关注
  • 计算机软件/流媒体开发工程师
  • 中国 湖北省 武汉市
奖章
  • 博客专家
  • 持之以恒