先看效果图

import 'package:flutter/material.dart'; void main(){ runApp( MaterialApp( title
:'Text Demo', home:ContainerDemo() ), ); } class ContainerDemo extends
StatelessWidget{ @override Widget build(BuildContext context) { return Scaffold(
appBar: AppBar( title: Text('文本组件'), ), body: Column( children: <Widget>[ Text(
'红色+黑色删除线+25号', style: TextStyle( color: const Color(0xffff0000), decoration:
TextDecoration.lineThrough, decorationColor: const Color(0xff000000), fontSize:
25.0, ), ), Text( '橙色+下划线+24号', style: TextStyle( color: const Color(0xffff9900)
, decoration: TextDecoration.underline, fontSize: 24.0, ), ), Text(
'虚线上划线+23号+倾斜', style: TextStyle( decoration: TextDecoration.overline,
decorationStyle: TextDecorationStyle.dashed, fontSize: 23.0, fontStyle:
FontStyle.italic, ), ), Text( '24号+加粗', style: TextStyle( fontSize: 23.0,
fontStyle: FontStyle.italic, fontWeight: FontWeight.bold, letterSpacing: 6.0, ),
), ], ), ); } }

技术
©2019-2020 Toolsou All rights reserved,
TypeScript:函数类型接口8道大厂指针笔试题让你秒杀指针!!!MySQL 日期时间加减mysql 查询条件之外的数据_mysql 查询符合条件的数据查linux的操作系统版本,如何查看Linux操作系统版本?将String类型转换成Map数据类型使用uuid做MySQL主键,被老板,爆怼一顿C语言中的字符串函数和字符函数linux服务器中毒排查--基础篇C# ASCII码字符转换