当前位置:网站首页>Shuttle INKWELL & ink components
Shuttle INKWELL & ink components
2022-07-05 13:13:00 【xiangxiongfly915】
List of articles
Flutter InkWell & Ink Components
- InkWell The component can display the water ripple effect when the user clicks .
- Ink The component can apply the water ripple effect to the decoration .

InkWell(
onTap: () {},
splashColor: Colors.red,
child: const Padding(
padding: EdgeInsets.all(10),
child: Text("InkWell Water ripple effect "),
),
)

InkWell(
onTap: () {},
highlightColor: Colors.blue,
child: const Padding(
padding: EdgeInsets.all(10),
child: Text("InkWell Highlight effect "),
),
)

InkWell(
onTap: () {},
splashColor: Colors.red,
highlightColor: Colors.blue,
child: const Padding(
padding: EdgeInsets.all(10),
child: Text("InkWell Mixed effects "),
),
)

Ink(
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: [Color(0xFFDE2F21), Color(0xFFEC592F)],
),
borderRadius: BorderRadius.all(Radius.circular(20)),
),
child: InkWell(
onTap: () {},
borderRadius: const BorderRadius.all(Radius.circular(20)),
child: Container(
padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 20),
child: const Text(
"Ink&InkWell",
style: TextStyle(color: Colors.white),
),
),
),
)
边栏推荐
- SAP SEGW 事物码里的 ABAP 类型和 EDM 类型映射的一个具体例子
- 逆波兰表达式
- #从源头解决# 自定义头文件在VS上出现“无法打开源文件“XX.h“的问题
- 解决 UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa2 in position 107
- UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe6 in position 76131: invalid continuation byt
- 手把手带你入门Apache伪静态的配置
- STM32 and motor development (from architecture diagram to documentation)
- 峰会回顾|保旺达-合规和安全双驱动的数据安全整体防护体系
- 【Hot100】33. 搜索旋转排序数组
- 同事半个月都没搞懂selenium,我半个小时就给他整明白!顺手秀了一波爬淘宝的操作[通俗易懂]
猜你喜欢

DataPipeline双料入选中国信通院2022数智化图谱、数据库发展报告

What is the difference between Bi software in the domestic market

SAP UI5 FlexibleColumnLayout 控件介绍

Solve Unicode decodeerror: 'GBK' codec can't decode byte 0xa2 in position 107

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe6 in position 76131: invalid continuation byt

It's too convenient. You can complete the code release and approval by nailing it!

Alibaba cloud SLB load balancing product basic concept and purchase process

Reverse Polish notation

STM32 and motor development (from architecture diagram to documentation)

Principle and performance analysis of lepton lossless compression
随机推荐
[深度学习论文笔记]使用多模态MR成像分割脑肿瘤的HNF-Netv2
Asemi rectifier bridge hd06 parameters, hd06 pictures, hd06 applications
Le rapport de recherche sur l'analyse matricielle de la Force des fournisseurs de RPA dans le secteur bancaire chinois en 2022 a été officiellement lancé.
Talk about seven ways to realize asynchronous programming
Fragmented knowledge management tool memos
Get you started with Apache pseudo static configuration
“百度杯”CTF比赛 九月场,Web:SQL
简单上手的页面请求和解析案例
手把手带你入门Apache伪静态的配置
[深度学习论文笔记]TransBTSV2: Wider Instead of Deeper Transformer for Medical Image Segmentation
【Hot100】33. 搜索旋转排序数组
uni-app开发语音识别app,讲究的就是简单快速。
阿里云SLB负载均衡产品基本概念与购买流程
go 数组与切片
使用Dom4j解析XML
SAP UI5 FlexibleColumnLayout 控件介绍
I'm doing open source in Didi
潘多拉 IOT 开发板学习(HAL 库)—— 实验7 窗口看门狗实验(学习笔记)
“百度杯”CTF比赛 九月场,Web:Upload
解决uni-app配置页面、tabBar无效问题