English | 简体中文
Tencent TDesign UI component library of Flutter, suitable for use in mobile projects.
dart: ">=2.19.0 <4.0.0"
flutter: ">=3.7.0"
pubspec.yamldependencies:
tdesign_flutter: ^0.0.6
import 'package:tdesign_flutter/tdesign_flutter.dart';
TDTheme.of(context) or TDTheme.defaultData(). It is recommended
that components use TDTheme.of(context) unless the component does not need to follow local themes,
in which case TDTheme.defaultData() can be used.Examples of using colors, fonts, and corner radius:
TDTheme.of(context).brandNormalColor TDTheme.defaultData().fontBodyLarge
Icon(TDIcons.activity)
TDesign also provides component libraries for other platforms and frameworks.
TDesign Flutter depends on the following component libraries. We appreciate the authors for their open-source contributions:
Contributing is welcome. Read guidelines for contributing before submitting your Pull Request.
Create your Github issues or scan the QR code below to join our user groups.
The MIT License. Please see the license file for more information.