当前位置: 首页 > news >正文

九台市做网站的公司某小型网站开发公司创业策划

九台市做网站的公司,某小型网站开发公司创业策划,番禺网站建设技术,电子商务及网站建设前言 有时候打开美团#xff0c;在刚加载数据时会显示一个占位视图#xff0c;如下#xff1a; 那么这个是如何实现的呢#xff1f;我们可以使用shimmer来开发该功能 实现 官方文档 https://pub-web.flutter-io.cn/packages/shimmer 安装 flutter pub add shimmer示例…前言 有时候打开美团在刚加载数据时会显示一个占位视图如下 那么这个是如何实现的呢我们可以使用shimmer来开发该功能 实现 官方文档 https://pub-web.flutter-io.cn/packages/shimmer 安装 flutter pub add shimmer示例1 SizedBox(width: 200.0,height: 100.0,child: Shimmer.fromColors(baseColor: Colors.red,highlightColor: Colors.yellow,child: Text(Shimmer,textAlign: TextAlign.center,style: TextStyle(fontSize: 40.0,fontWeight:FontWeight.bold,),),), );示例2 class _MyHomePageState extends StateMyHomePage {overrideWidget build(BuildContext context) {return Scaffold(appBar: AppBar(backgroundColor: Theme.of(context).colorScheme.inversePrimary,title: Text(widget.title),),body: ListView(children: const [ProductDisplay(),ProductDisplay(),ProductDisplay(),ProductDisplay(),],));} }class ProductDisplay extends StatelessWidget {const ProductDisplay({super.key});overrideWidget build(BuildContext context) {return Container(height: 150,width: MediaQuery.of(context).size.width,margin: const EdgeInsets.all(10),child: Card(color: Colors.white,child: Shimmer.fromColors(baseColor: Colors.grey.shade300,highlightColor: Colors.grey.shade100,child: Row(children: [Container(width: 120,height: 130,margin: const EdgeInsets.all(10),decoration: BoxDecoration(borderRadius: BorderRadius.circular(10),color: Colors.grey,),),Expanded(child: Column(children: [Container(height:30,margin: const EdgeInsets.all(10),decoration: BoxDecoration(borderRadius: BorderRadius.circular(5),color: Colors.grey,),),Container(height:20,margin: const EdgeInsets.only(left: 10,right: 10,bottom: 10),decoration: BoxDecoration(borderRadius: BorderRadius.circular(5),color: Colors.grey,),),Container(height:20,margin: const EdgeInsets.only(left: 10,right: 50,bottom: 10),decoration: BoxDecoration(borderRadius: BorderRadius.circular(5),color: Colors.grey,),),Container(height:20,margin: const EdgeInsets.only(left: 10,right: 100,bottom: 10),decoration: BoxDecoration(borderRadius: BorderRadius.circular(5),color: Colors.grey,),),],))],)),),);} }
http://www.yutouwan.com/news/349604/

相关文章:

  • 华为云速建站个人网页怎么制作
  • 浏阳市商务局网站溪江农贸市场建设电商运营网络课程
  • 公司搭建一个网站需要多少钱wordpress 自定义风格
  • 大连住房和城乡建设部网站挖主题wordpress
  • 网站购物车功能贵州安顺网站建设
  • 泉州网站建设哪里优惠wordpress服务本地
  • 美橙网站学做立体书的网站
  • 做临时网站网站建设的栏目内容
  • 做哪个外贸网站不用交费金融网站建设成功案例
  • 淘客网站开发公司大庆市建设大厦网站
  • 模板网站怎么建设优化dw静态网页模板
  • 做网站接私活流程百度搜索引擎排名
  • 重庆做网站 外包公司有哪些赣州seo
  • 惠州网站开发公司江苏网站备案要求
  • seo网站关键词优化工具个人品牌网站设计
  • 免费域名注册免备案网站搭建 商城 seo
  • 三只松鼠建设网站前的市场分析企业网站的设计
  • 深圳市建设局质监站官方网站网站数据建设涉及哪些内容
  • 用jsp做婚纱网站的流程什么网站可以请人做软件
  • ps做网站头部的图wordpress分类没有文章
  • 建设网站项目简历莱州市招聘网站
  • 自己做的网站百度搜不到网上做实验的网站
  • 白云电子商务网站建设域名和主机有了怎么做网站
  • 您的域名因未取得工信部网站备案号荆州网站制作公司
  • 网站内部优化是什么意思网站站点多少钱
  • 网站高防服务器租用安装php网站
  • h5哪个网站可以做百度推广网站吸引力
  • 怎么查询网站ftp地址无限时间看片视频
  • 网络班级网站建设校园网站的作用
  • 网站域名攻击上海opencart网站建设