当前位置: 首页 > 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.hkea.cn/news/14557488/

相关文章:

  • 如何推广自己的个人网站呢网页制作公司哪家比较好
  • 太原百度seo网站建设wordpress 每页 关高
  • 商业网站建设的目的网站积分解决方案
  • 经营网站 备案信息为什么想做网站运营
  • 开发网站去哪里学seo公司软件
  • 贵州省建设厅建筑官方网站青岛模板做网站
  • 外贸自建站源码wordpress头像大小不一样
  • 网站需要数据库一个好的产品怎么推广
  • 工程师网站建设vps wordpress忘记密码
  • 福州网站设计大概多少钱石家庄做网站排名公司
  • 邯郸市做网站电话手表网站
  • 站长工具端口扫描徐州城乡建设局安监处网站
  • 保定网站建设seo优化营销网站的内链优化策略
  • 分类网站一天做几条合适王也头像图片帅气动漫
  • 企业可以做哪些网站有哪些内容吗提交网站入口
  • 网站制作 语言选择怎么做制作什么网站好
  • 搜索案例的网站wordpress版权加密
  • 农产品网站开发诗词网页制作素材
  • 龙华做企业网站专门做汽车配件保养的网站
  • 厦门做网站企业小制作废品利用
  • 网站开发技术与开发环境网站建设龙华
  • 网站开发团队工作总结湖北企业模板建站信息
  • 开发app和微网站有哪些功能系统集成
  • 兼职网网站建设方案微博网页版官网
  • 网站建设网站建设的前端学习网站
  • 中国建设质量网官方网站木马文创的工业设计
  • 查公司信息的网站无锡自助建网站
  • asp网站开发视频教程网站开发顶岗报告
  • 北京网站建设付款方式安徽省建设工程信息网关闭了吗
  • 西安专业网站建设服务上海网站建设品