当前位置:网站首页>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),
),
),
),
)
边栏推荐
- [深度学习论文笔记]TransBTSV2: Wider Instead of Deeper Transformer for Medical Image Segmentation
- mysql econnreset_Nodejs 套接字报错处理 Error: read ECONNRESET
- 函数的默认参数&函数参数的多种方法
- Sorry, we can't open xxxxx Docx, because there is a problem with the content (repackaging problem)
- LeetCode20.有效的括号
- 155. 最小栈
- Talking about fake demand from takeout order
- Lb10s-asemi rectifier bridge lb10s
- Run, open circuit
- Hiengine: comparable to the local cloud native memory database engine
猜你喜欢
UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe6 in position 76131: invalid continuation byt
先写API文档还是先写代码?
RHCSA8
How can non-technical departments participate in Devops?
Principle and configuration of RSTP protocol
It's too convenient. You can complete the code release and approval by nailing it!
Introduction aux contrôles de la page dynamique SAP ui5
Introduction to the principle of DNS
简单上手的页面请求和解析案例
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é.
随机推荐
go 字符串操作
MSTP and eth trunk
事务的基本特性和隔离级别
Laravel document reading notes -mews/captcha use (verification code function)
Pycharm installation third party library diagram
C# 对象存储
同事半个月都没搞懂selenium,我半个小时就给他整明白!顺手秀了一波爬淘宝的操作[通俗易懂]
mysql econnreset_ Nodejs socket error handling error: read econnreset
Natural language processing series (I) introduction overview
【每日一题】1200. 最小绝对差
Run, open circuit
RHCSA10
Flutter draws animation effects of wave movement, curves and line graphs
SAP SEGW 事物码里的 Association 建模方式
Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
函数传递参数小案例
百度杯”CTF比赛 2017 二月场,Web:爆破-2
爱可生SQLe审核工具顺利完成信通院‘SQL质量管理平台分级能力’评测
A specific example of ABAP type and EDM type mapping in SAP segw transaction code
山东大学暑期实训一20220620