tdesign_flutter 0.1.4 copy "tdesign_flutter: ^0.1.4" to clipboard
tdesign_flutter: ^0.1.4 copied to clipboard

Tencent TDesign UI component library of Flutter, suitable for use in mobile projects.

TDesign Logo

Tencent TDesign UI component library of Flutter, suitable for use in mobile projects.

中文文档

Features: #

  • Provides Flutter UI component library in TDesign design style
  • Support customizing themes according to App design style
  • Provides commonly used Icon library and supports customized replacement
  • Define color groups according to the TDesign specification, which can be viewed in TDColors to facilitate the adaptation of components to the TDesign specification.
  • The color value declaration class can add default colors and view the default display effect of color values in real time.

Notice: #

  • Theme styles such as color/font size/font style/rounded corners/shadow can be configured through json files. Get theme data through TDTheme.of(context) or TDTheme.defaultData(). It is recommended that all components use TDTheme.of(context)Only components that do not need to follow the local theme can use TDTheme.defaultData().

    Examples of usage of colors, fonts, rounded corners, etc.:

    TDTheme.of(context).brandNormalColor
    TDTheme.defaultData().fontBodyLarge
  • TDesign's icons do not follow the theme, they are all in ttf format, usage examples:
    Icon(TDIcons.activity)
  • Example: example/lib/page/

SDK dependency version: #

dart: ">=2.19.0 <4.0.0"

flutter: ">=3.7.0"

Other technology stack implementations: #

Feedback #

feedback

Open source agreement: #

TDesign is licensed under the MIT LICENSE

Acknowledgements #

TDesign Flutter depends on the following component libraries. We appreciate the authors for their open-source contributions: flutter_easyrefresh flutter_swiper

30
likes
120
pub points
89%
popularity

Publisher

verified publishertdesign.tencent.com

Tencent TDesign UI component library of Flutter, suitable for use in mobile projects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_easyrefresh, flutter_swiper_null_safety

More

Packages that depend on tdesign_flutter