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

做网站那个公司好竞价托管推广代运营

做网站那个公司好,竞价托管推广代运营,个人主页设计模板,门户网站的门户思维有什么特点flutter开发实战-BackdropFilter高斯模糊子Widget。 最近开发过程中遇到需要将控件进行模糊#xff0c;比如iOS的effect的模糊效果。那在flutter中就需要用到了BackdropFilter 一、BackdropFilter BackdropFilter属性定义 BackdropFilter({Key key, required ImageFilter …flutter开发实战-BackdropFilter高斯模糊子Widget。 最近开发过程中遇到需要将控件进行模糊比如iOS的effect的模糊效果。那在flutter中就需要用到了BackdropFilter 一、BackdropFilter BackdropFilter属性定义 BackdropFilter({Key key, required ImageFilter filter,Widget child })其中ImageFilter的filter是必须传的child为子控件。 ImageFilter一下两种两种构造方法 设置背景高斯模糊 //构造一个设置高斯模糊的ImageFiltersigmaXsigmaY用来控制 //模糊度取值范围是0-10 ImageFilter.blur({double sigmaX: 0.0, double sigmaY: 0.0 })矩阵变换 ImageFilter.matrix(Float64List matrix4, { FilterQuality filterQuality: FilterQuality.low })二、实现模糊效果的控件Widget 这里我们实现一个实现设置背景高斯模糊的Widget import package:flutter/material.dart; import dart:ui;/// 矩形高斯模糊效果 class BlurWrapperWidget extends StatefulWidget {const BlurWrapperWidget({Key? key,required this.child,required this.sigmaX,required this.sigmaY,required this.opacity,this.blurMargin,this.borderRadius,}) : super(key: key);final Widget child;/// 模糊值final double sigmaX;final double sigmaY;/// 透明度final double opacity;/// 外边距final EdgeInsetsGeometry? blurMargin;/// 圆角final BorderRadius? borderRadius;override_BlurWrapperWidgetState createState() _BlurWrapperWidgetState(); }class _BlurWrapperWidgetState extends StateBlurWrapperWidget {overrideWidget build(BuildContext context) {return Container(margin: widget.blurMargin ! null? widget.blurMargin: EdgeInsets.only(bottom: 0.0),child: ClipRRect(borderRadius: widget.borderRadius null? BorderRadius.only(topLeft: Radius.circular(10), topRight: Radius.circular(10)): widget.borderRadius,child: BackdropFilter(filter: ImageFilter.blur(sigmaX: this.widget.sigmaX ! null ? this.widget.sigmaX : 10,sigmaY: this.widget.sigmaY ! null ? this.widget.sigmaY : 10,),child: Container(color: Colors.white10,child: this.widget.opacity ! null? Opacity(opacity: widget.opacity,child: this.widget.child,): this.widget.child,),),),);} }三、小结 flutter开发实战-BackdropFilter高斯模糊子Widget。 最近开发过程中遇到需要将控件进行模糊比如iOS的effect的模糊效果。那在flutter中就需要用到了BackdropFilter。 学习记录每天不停进步。
http://www.hkea.cn/news/14435868/

相关文章:

  • 制作网页教程的方法我自己的网站怎么做关键词优化
  • 做中介最好用的网站企业网站开发背景及意义
  • 来个手机能看的网站2021做网站小编怎么样
  • 电子商务网站建设花费国外以紫色为背景的网站
  • 阿里云网站备案查询高端做网站价格
  • ps做网页怎么在网站上打开防蚊手环移动网站建设
  • 网站导航页设计qq网站建设
  • 网站策划专员网站建立的链接不安全怎么解决
  • 设计介绍人的网站北京商标注册公司
  • 如何规划电子商务网站互联网技术的特征
  • 购买域名后如何建设网站古典网站案例
  • 宝塔怎么做第二个网站免费的行情网站app入口
  • 统计局宣传工作总结 网站建设中国核工业二三建设有限公司待遇
  • asp网站如何打开网络营销推广方式包括
  • 温州网站搭建泰安房产网站
  • 泰安网站建设介绍网站做中秋专题怎么弄
  • 国内做网站俄语网站里做外贸shop
  • wordpress 转发北京seo专业团队
  • 网站定制报价表百度关键词排名查询工具
  • idea建设完整的网站凡科建站登录
  • 网站有利于seo的细节指定网站建设前期规划方案
  • 南阳seo网站建设费用企业网站下周
  • 企业进行网站建设的方式淮安市建设监理协会网站
  • 陕西城乡建设网站wordpress内页无法打开
  • 仿站是什么意思生活类网站内容建设
  • 国内oa系统十大排名大连网站优化步骤
  • 泉州建网站dedecms 做影网站
  • 网站制作详细流程惠州seo排名优化
  • 漳浦县城乡规划建设局网站定制头像软件
  • 福州网站快速排名微信如何做积分商城网站