Skip to content

Instantly share code, notes, and snippets.

Xuqiang ZHENG Loong-T

Block or report user

Report or block Loong-T

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Loong-T / html_span_widget.dart
Created Mar 13, 2020
A Widget to show effects of some simple html tags
View html_span_widget.dart
import 'package:flutter/material.dart';
import 'package:html/dom.dart' as dom;
import 'package:html/parser.dart';
class HtmlSpanView extends StatefulWidget {
final String content;
const HtmlSpanView(this.content);
View cc_colors.xml
<?xml version="1.0" encoding="utf-8"?>
<color name="cc_wan">#A98175</color> <!---->
<color name="cc_sandalwood">#B36D61</color> <!---->
<color name="cc_maroon">#60281E</color> <!-- 栗色 -->
<color name="cc_xuan">#622A1D</color> <!---->
<color name="cc_rouge">#9D2933</color> <!-- 胭脂 -->
<color name="cc_darkRed">#BE002F</color> <!-- 殷红 -->
<color name="cc_claret">#C32136</color> <!-- 枣红 -->
<color name="cc_chi">#C3272B</color> <!---->
Loong-T / nc_colors.xml
Created Jul 17, 2017
A color resource file extracted from
View nc_colors.xml
<?xml version="1.0" encoding="utf-8"?>
<color name="nc_nadeshiko">#DC9FB4</color> <!-- 撫子 -->
<color name="nc_kohbai">#E16B8C</color> <!-- 紅梅 -->
<color name="nc_suoh">#8E354A</color> <!-- 蘇芳 -->
<color name="nc_taikoh">#F8C3CD</color> <!-- 退紅 -->
<color name="nc_ikkonzome">#F4A7B9</color> <!-- 一斥染 -->
<color name="nc_kuwazome">#64363C</color> <!-- 桑染 -->
<color name="nc_momo">#F596AA</color> <!---->
<color name="nc_ichigo">#B5495B</color> <!---->
You can’t perform that action at this time.