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

营销型网站平台建设搜索推广代运营

营销型网站平台建设,搜索推广代运营,网站开发的主要工作,上海中学有哪些学习使用Flutter 进行 虚线 自定义控件 练习 // 自定义虚线 (默认是垂直方向) class DashedLind extends StatelessWidget {final Axis axis; // 虚线方向final double dashedWidth; // 根据虚线的方向确定自己虚线的宽度final double dashedHeight; //…

学习使用Flutter 进行 虚线 自定义控件 练习

// 自定义虚线 (默认是垂直方向)
class DashedLind extends StatelessWidget {final Axis axis; // 虚线方向final double dashedWidth; // 根据虚线的方向确定自己虚线的宽度final double dashedHeight; // 根据虚线的方向确定自己虚线的高度final int count; // 内部会根据设置的个数和宽度确定密度(虚线的空白间隔)final Color color; // 虚线的颜色const DashedLind({super.key,required this.axis,this.dashedWidth = 1,this.dashedHeight = 1,this.count = 10,this.color = const Color(0xffaaaaaa)});Widget build(BuildContext context) {return LayoutBuilder(builder: (BuildContext context, BoxConstraints constraints) {// 根据宽度计算个数return Flex(direction: axis,mainAxisAlignment: MainAxisAlignment.spaceBetween,children: List.generate(count, (_) {return SizedBox(width: dashedWidth,height: dashedHeight,child: DecoratedBox(decoration: BoxDecoration(color: color),),);}),);});}
}

使用方法:

Widget build(BuildContext context) {return Scaffold(// 脚手架appBar: AppBar(title: Text(widget.title),),body: Center(child: Column(children: [Container (height: 200,child: const DashedLind(axis:Axis.vertical, // 垂直方向设置dashedHeight: 8,count: 12,color: Colors.red,),),Container(width: 200,child: const DashedLind(axis: Axis.horizontal, // 水平方向设置dashedWidth: 6,count: 15,color: Colors.red,),)],),),);}
}

纸上得来终觉浅,绝知此事要躬行。

http://www.hrbkazy.com/news/20604.html

相关文章:

  • 一般网站的宽度是多少合肥网络推广网络运营
  • 淘宝网站建设策划书注册网站域名
  • 深圳网站优化哪家好交换链接营销实现方式解读
  • 网站建设要素的核心内容百度直播
  • web网站开发培训班竞猜世界杯
  • 常德做网站建设的公司如何在百度上开店铺
  • 网站建设战略伙伴seo推广培训学费
  • 灵璧做网站公司seo sem是指什么意思
  • 做一个好的公司网站有什么好处百度seo排名教程
  • pc端和移动端的网站广州企业网站建设
  • 移动网站开发pdf网页制作图片
  • wordpress 模板网站排名优化公司哪家好
  • 哪公司建设网站360搜索引擎
  • 品牌网站制作流程seo学途论坛网
  • 做亚马逊和淘宝网站荆门今日头条新闻发布
  • 网站建设云经典软文广告
  • java网站开发app代理推广合作50元
  • 南京网站制作网络营销策略主要包括
  • 杭州做网站的优质公司北京优化网站方法
  • 企业网站的设计要求有哪些备案查询站长工具
  • 做网站怎么把背景变成纯色短视频seo厂家
  • 做餐饮类网站用哪个程序优化网站推广教程排名
  • 自建网站的劣势新站seo竞价
  • 做国际网站有用吗广东seo点击排名软件哪家好
  • 怎么做bs网站应用下载app排行榜
  • 网站推广传单福建搜索引擎优化
  • 个人网站一年多少钱今日国际新闻大事
  • php网站开发系统开个网站平台要多少钱
  • 网站中的横幅怎么做推广产品的软文
  • 成都商城网站建设地址线上推广有哪些