tdesign_flutter 0.2.6
tdesign_flutter: ^0.2.6 copied to clipboard
Tencent TDesign UI component library of Flutter, suitable for use in mobile projects.
🌈 0.2.6 2025-11-14 #
🚀 Features #
TDNoticeBar: Addedcontentproperty, deprecated and compatible with the original context property @runoob-coder (#744)TDButton: Added gradient color background @jflin19990707 (#773)TDToast: TDToast supports displaying multiple toasts @jflin19990707 (#780)TDUpload: Added custom upload listener @leenc123 (#775)TDTable: Added custom footer property @leenc123 (#776)
🐞 Bug Fixes #
TDMultiCascader: Fixed initialIndexes parameter not taking effect @epoll-j (#752)TDDialog: Fixed button text overflow issue @jflin19990707 (#772)TDDateTimePicker: Changed English configuration for date, hour, minute, second to abbreviations @jflin19990707 (#770)TDCell: Fixed overflow issue when note is too long @jflin19990707 (#769)TDCell: Fixed alignment issue between icon and text in the cell @runoob-coder (#789)TDProgress: Fixed style issue when progress bar changes @runoob-coder (#744)
📝 Documentation #
docs: Optimized document format and content @runoob-coder (#744)
🚧 Others #
- Components fully adapted to dark mode, optimized and adjusted component styles (experimental version) @runoob-coder (#744)
demo: Optimized and adjusted demo example project and code demonstrations, upgraded Android build configuration and dependencies to be compatible with Flutter from3.16.9to the latest version (3.35.5), adjusted web preview iframe style to remove top margin @runoob-coder (#744)web: Overridden web dependencies, resolved version conflict with flutter_localizations, compatible with previous Flutter versions @runoob-coder (#744)
🌈 0.2.5 2025-09-12 #
🐞 Bug Fixes #
TDPopover: Added custom corner radius property @jflin19990707 (#727)TDForm: Added custom background color property for form, button part can be optional @jflin19990707 (#730)TDConfirmDialog: Dialog supports custom width, buttons added custom style properties @jflin19990707 (#724)TDPicker: Supports initialization and subsequent dynamic loading of appropriate data, fixes stuttering issues @123dw-bot (#728)TDSideBar: Added custom unselected color property @jflin19990707 (#723)
🚧 Others #
- docs: Optimized repository size @RSS1102
🌈 0.2.4 2025-08-14 #
🚀 Features #
TDUpload: Support setting image spacing and alignment @cyjaysong (#677)TDTreeSelect: Added custom width and max lines fields, fixed fixed width for second level and long text overflow issues @123dw-bot (#694)TDDropdownMenu: Added TDDropdownItemController to allow external reset and change of dropdown options @Luozf12345 (#697)TDStepper: Added controller parameter to Stepper for real-time value modification @Luozf12345 (#699)
🐞 Bug Fixes #
TDIndexes: Fixed issue where custom indexes could not respond to click events @epoll-j (#692)TDPopup: Fixed bug where close method was triggered twice @epoll-j (#690)TDSideBar: Fixed issue where children of TDSideBar component could not be updated after initialization @Luozf12345 (#698)
🚧 Others #
Misc: Restored default adaptation for flutter SDK version 3.32
🌈 0.2.3 2025-07-09 #
🚀 Features #
TDPicker: Supports prioritizing the retention of cascaded option values when switching @epoll-j (#666)TDTable: Supports default row selection @ccXxx1aoBai (#665)TDCalendar: Adds custom date cell functionality @epoll-j (#667)TDForm: Adds Form component @shizhe2018 @SimonWuZY (#620)TDTable: Separates TDTableCol attribute configuration and empty data configuration @ccXxx1aoBai (#665)
🐞 Bug Fixes #
TDTable: Fixes the issue with unselected icon display in table headers and the selection state problem under disabled conditions @ccXxx1aoBai (#665)TDTable: Fixes the empty data issue in tables @ccXxx1aoBai (#671)TDDialog: Fixes the issue where dialogs block the keyboard @jflin19990707 (#669)TDCollapse: Updates the demo page name for collapse @jflin19990707 (#670)TDDropdownMenu: Fixes the incorrect popup position calculation in nested routing scenarios @hcanyz (#648)
🌈 0.2.2 2025-06-13 #
🚀 Features #
TDTable: Added support for row selection and custom row height. @ccXxx1aoBai (#594)TDTreeSelect: Added partial multi-selection support. @epoll-j (#587)TDCell: Added support for custom height and bottom divider. @ccXxx1aoBai (#611)TDNoticeBar: Added support for custom number of text lines. @ccXxx1aoBai (#611)TDBottomTabBar: Made onTap in TDButtonBottomTabBar support repeated clicks. @epoll-j @RSS1102 (#586)TDBottomTabBar: Implemented tap ripple effects. @RSS1102 (#626)TDAvatar: Added custom BoxFit parameter. @shizhe2018 (#633)
🐞 Bug Fixes #
TDDatePicker: Fixed minute-level time display issue and optimized hour/minute/second range calculation logic. @epoll-j (#585)TDSearchBar: Added onTapOutside callback support. @cyjaysong (#608)TDDropdownMenu: Added support for modifying selected icon color. @jflin19990707 (#631)TDTabBar: Fixed text-icon conflict in TDBottomTabBarBasicType.iconText mode. @jflin19990707 (#628)TDEmpty: Added custom styling support for action buttons. @jflin19990707 (#624)TDToast: Added custom text support for toast. @jflin19990707 (#625)TDPopup: Modified _measureChildHeight method to fix inability to adjust popup height via child component. @Jzow (#591)TDCascader: Fixed empty state handling for query data. @shizhe2018 (#635)
🚧 Others #
- Adapted for Flutter 3.32 version. @Luozf12345 (#636)
🌈 0.2.0 2025-05-07 #
🚀 Features #
TDCellGroup: AddedtitleBackgroundColorproperty for cell group title background color. @runoob-coder (#539)TDLink: Replaced link parameterLinkObjwithMessageLink, adjustedTDLinkstyles, and added click callback. @runoob-coder (#554)TDBottomTabBar: Added custom title support for step bar component. @RSS1102 (#576)TDSlider: Added slider tap eventonTap. @RSS1102 (#527)TDCascader: Added "Confirm" button at top-right corner to support selecting any option. @Luozf12345ImageViewer: Added single image deletion support. @ccXxx1aoBai (#581)TDPopup: Added custom size properties for popup title, left text, right text, and close button. @Jzow (#582)TDBottomTabBarTabConfig: AddedonLongPressevent triggered by long-pressing tabs. @RSS1102 (#580)
🐞 Bug Fixes #
TDFooter: Fixed content overflow issue in link mode. @runoob-coder (#554)TDUpload: Fixed file size limit error. @epoll-j (#544)TDImageViewer: Added Swiper component property passthrough, click events, and style properties; supports custom buttons. @ccXxx1aoBai (#561)TDSlider: Fixed edge drag failure and value/scale display issues in capsule type with range. @qfish (#567)TDInput: Fixed width calculation defect for non-Chinese label input fields. @Jzow (#564)TDPopup: Fixed inability to modify popup height viaheightin child component. @Jzow (#571)TDDropdownMenu: Fixed single-select failure in specific scenarios. @1jialong (#575)TDToast: Fixed multi-line text display issue. @Luozf12345TDPopup: Fixed horizontal line display issue when popup lacks outer Scaffold. @Luozf12345
🚧 Others #
TDFooter: RefactoredTDFootercomponent; RemovedLinkObjclass and directly usedTDLinkclass; RemovedisWithUnderlineparameter (link styles now set inTDLink). @runoob-coder (#554)
🌈 0.1.9 2025-03-31 #
🚀 Features #
TDProgress: AddedProgresscomponent @CORCTON (#307)TDMessage: AddedMessage(Global Prompt) component @chendingya (#316)TDSkeleton: AddedSkeletoncomponent @Ezer015 (#317)TDFooter: AddedFootercomponent @chendingya (#224)TDPopover: AddedPopover(Popup Bubble) component @ccXxx1aoBai (#435)TDSwitch: Added custom "ON/OFF" font size support @shinyina (#217)TDDatePicker: AddedfilterItemsparameter for custom display options anditemBuilderfor custom item rendering @hkaikai (#426)TDDrawer: CreatedTDDrawerWidgetcomponent compatible with Scaffold's drawer property @hkaikai (#445)TDTable: Custom columns now return current row number @ccXxx1aoBai (#457)TDUpload: Added width/height settings and quick replacement configuration support @HubuHito (#462)TDButton: Added icon position property @epoll-j (#463)TDDropdownMenu: Supported single-select mode (multiple == false) with multi-column display (optionsColumns > 1) @hkaikai (#502)TDActionSheet: Added Action Sheet component @hkaikai (#485)TDPicker: AddedcustomSelectWidgetparameter @epoll-j (#495)TDSlider: Added track color modification parameter @epoll-j (#506)TDCalendar: Added animated scrolling to selected value position @hkaikai (#509)TDStep: AddedCustomContentparameter for Step content customization @Jzow (#452)TDTag: AddedfixedWidthparameter and fixedTextOverflow.ellipsistitle overflow issue @Jzow (#496)TDPopup: Added edge drag control for bottom panel @Jzow (#514)TDBadge: Added capped numeric value setting for Badge @chendingya (#302)TDToast: Added multi-line text support for icon-type toasts @ccXxx1aoBai (#481)
🐞 Bug Fixes #
TDRefreshHeader: Upgraded Easy Refresh to latest version, improved compatibility between v2/v3 syntax @hkaikai (#438)TDCell: Fixed unresponsive click in blank area without default style; Improved default style construction and demo usage @hkaikai (#448)TDTable: Fixed empty data image display issue @ccXxx1aoBai (#451)TDTabBar: AddedlabelStyleandunselectedLabelStylesupport for custom font sizes @hkaikai (#453)TDCalendar: Fixed positioning issue when scrolling to last month @hkaikai (#449)TDBottomTabBar: Fixed background color setting for capsule type @epoll-j (#497)TDCalendar: Added localization for confirm button @hkaikai (#505)TDUpload: AddedonMaxLimitReachedcallback to handle file limit overflow @Jzow (#474)TDInput: Added_getTextWidthfunction and click event to fix incomplete text display @Jzow (#475)TDImage: Removed mandatory custom width/height constraints (default 72px) for layout auto-calculation @Jzow (#499)TDConfirmDialog: Added layout constraints and dynamic max-height calculation with scroll support @Jzow (#510)TDDrawer: Added_deleteRouter()call in close function to force clear routes @Jzow (#512)TDText: Fixed text alignment issue in HarmonyOS 3.22 @duleigiser (#437)TDAlertDialog: Fixed button style not filling width @lvjs (#460)
🚧 Others #
TDSlider: Demo code splitting @iamitis (#245)- Added release date to "About Us" page @iamitis (#304)
Doc: Updated README English version, added License file and Issue Doc templates @Jzow (#458)
🌈 0.1.8 2024-12-30 #
🚀 Features #
TDUpload: Added Upload component @TingShine (#405)SearchBar: Added keyboard action type @ccXxx1aoBai (#366)Cell: CellGroup added style control parameters: cardBorderRadius (card mode border radius), cardPadding (card mode padding), titlePadding (title padding) @hkaikai (#409)DropdownMenu: Added decorator configuration: decoration, which can customize menu color and border @hkaikai (#408)ImageViewer: Supports displaying image titles @ccXxx1aoBai (#411)Calendar: Added monthTitleBuilder parameter @hkaikai (#419)Calendar: Added pickerHeight, pickerItemCount parameters to control the height of the time selection component @hkaikai (#421)Toast: Supports customizing the overlay background color @ccXxx1aoBai (#423)Rate: Supports disabled parameter @hkaikai (#357)Calendar: Modified CalendarBuilder return value to Widget @Luozf12345 (#396)SearchBar: Added read-only attribute and click event @shizhe2018 (#393)Dialog: TDDialogButtonOptions added font size attribute @shizhe2018 (#381)DateTimePicker: Added time unit display attribute @shizhe2018 (#383)Input: Added additionInfo left and right display position @shizhe2018 (#401)
🐞 Bug Fixes #
NoticeBar: Fixed the issue of abnormal text display on the web @ccXxx1aoBai (#351)Rate: Fixed the issue where the onChange event was not triggered when clicking the tooltip in half selection @hkaikai (#361)Calendar: Fixed the issue of inaccurate scroll position due to inconsistent number of rows in the month date @hkaikai (#363)Calendar: Optimized the issue of rendering lag caused by too large min and max @hkaikai (#363)Input: Fixed the issue where the dividing line and content were not aligned when setting contentPadding @epoll-j (#365)Table: Fixed the issue of overflow when setting the width of fixed columns @ccXxx1aoBai (#370)Popup: Fixed the issue of delay in closing when clicking on the overlay @hkaikai (#380)Cascader: Added the function of clicking to select the first layer @shizhe2018 (#355)DateTimePicker: Added restrictions on hours, minutes, and seconds @shizhe2018 (#362)Textarea: Optimized the update of word limit changes @shizhe2018 (#385)TabBar: Fixed the issue where labelStyle and unselectedLabelStyle did not take effect @shizhe2018 (#399)Picker: Fixed the issue of unable to select color when sliding in multi-layer pop-up @shizhe2018 (#413)SearchBar: Fixed the issue of SearchBar jittering at the default position when focusing, and the cursor not being centered @Luozf12345 (#417)Dialog: Modified Dialog to only pass contentWidget, no need to pass title and content @Luozf12345 (#418)TDBottomTabBar: Fixed the issue of bottom overflow by 2.5 pixels in iconText mode @epoll-j (#422)
🚧 Others #
- Adapted to FlutterSdk3.25, the minimum supported version has been adjusted to 3.16.0 @shizhe2018 (#378)
- Modified Example English version copy @shizhe2018 (#382)
- Upgraded flutter_slidable version @Luozf12345 (#407)
- Added component search function to demo @Luozf12345 (#410)
- Updated Icons @Luozf12345 (#420)
🌈 0.1.7 2024-10-16 #
🚀 Features #
TDNoticeBar: Added noticeBar component @ccXxx1aoBai (#162)Result: Added Result component @shinyina (#220)TimeCounter: Timer component supports time display beyond conversion units, original TDCountDown component renamed to TimeCounter @hkaikai (#272)Calendar: Added Calendar component @hkaikai (#271)Indexes: Added Indexes component @hkaikai (#321)Table: Added table component @ccXxx1aoBai (#244)Rate: Added Rate component @hkaikai (#338)Dialog: Supports custom content padding and buttons @ccXxx1aoBai (#289)Drawer: Supports controlling the visibility of the divider, custom drawer background color, and controlling the display of the last divider @ccXxx1aoBai (#278)DropdownMenu: Added control parameters for icon/width/height/icon and text alignment @hkaikai (#297)Search: Added action and onActionClick properties @Ezer015 (#263)Avatar: Added onTap event @ccXxx1aoBai (#344)TDDropdownMenu: Added tabBarFlex parameter to TDDropdownItem to control width ratio @hkaikai (#338)SearchBar: Feature/td searchbarfix added cursor height property @shizhe2018 (#337)TimeCounter: Added forward timing function @epoll-j (#246)NavBar: [NavBar] supports setting bottom shadow @ccXxx1aoBai (#284)Cell: Added custom padding parameter @epoll-j (#276)Input: Added onTapOutside callback @epoll-j (#280)Picker: Added custom leftText, rightText @epoll-j (#301)Slider: Feature/tdslider added text wrapping function @shizhe2018 (#329)Radio: Feature/tdRadioGroup added built-in line wrapping, set number of rows and columns @shizhe2018 (#331)Dialog: Added custom input box @shizhe2018 (#333)TDNavBar: Added flexibleSpace parameter @Luozf12345 (#341)TDSearch: Added search box focus acquisition and clear events @Luozf12345 (#342)
🐞 Bug Fixes #
ImageViewer: Fixed defaultIndex invalid issue @ccXxx1aoBai (#292)TimeCounter: Fixed issue where it could not be reset repeatedly @hkaikai (#272)DropdownMenu: Adjusted popup layer logic, fixed issue where back button could not be listened to @hkaikai (#297)DatePicker: Removed monitoring on year, month, and day when destroyed to avoid memory leaks; added onSelectedItemChanged event @hkaikai (#300)SideBar: Fixed issue where custom selected style text was not centered @ccXxx1aoBai (#313)Popup: Fixed issue where multiple returns occurred when quickly clicking the mask @ccXxx1aoBai (#318)ImageViewer: Fixed issue where deleting the first image caused display anomalies @ccXxx1aoBai (#322)SideBar: Fixed issue where delayed loading components caused anchor point function anomalies @ccXxx1aoBai (#343)TDDropdownMenu: Optimized menu display text to show ellipsis when exceeding display limit @hkaikai (#338)NoticeBar: Fixed issue where it could not follow the theme color @ccXxx1aoBai (#350)Button: Fixed overflow issue when setting shape to square or circle @epoll-j (#257)Slider: Bugfix: Fixed issue where tb_slider setState did not update @arvinwli (#298)Cascader: Fixed list sorting issue @shizhe2018 (#303)Popup: Fixed issue where the keyboard would cover the input box in the Popup @epoll-j (#264)Cascader: Fixed linkage time limit range logic @shizhe2018 (#242)Loading: Fixed issue where dismissing Loading immediately after showing did not take effect @Luozf12345 (#340)
🚧 Others #
- fix: remove useless output. @Ives7 (#311)
🌈 0.1.6 2024-07-24 #
🚀 Features #
Cell: Added Cell component @hkaikai (#150)Drawer: Added Drawer component @hkaikai (#178)SwipeCell: Added SwipeCell component @hkaikai (#218)Steps: Added Steps component @aaronmhl (#199)ImageViewer: Added ImageViewer component @ccXxx1aoBai (#187)Cascader: Added Cascader component @shizhe2018 (#195)Fab: Added Fab component @TingShine (#239)BackTop: Added BackTop component @TingShine (#239)TreeSelect: Added TreeSelect component @TingShine (#239)Collapse: Added Collapse component @dorayx (#239)Input: Added inputAction API to support setting keyboard actions; added spacer API to customize component spacing @ccXxx1aoBai (#184)Text: Added global font configuration and the ability to load web fonts @Luozf12345 (#232)CountDown: Added start/reset/pause/resume control functions @hkaikai (#175)Popup: Supported position and size settings @hkaikai (#191)
🐞 Bug Fixes #
Toast: Fixed the issue where the duration attribute was ineffective @ccXxx1aoBai (#167)Input: Fixed the label overflow issue @ccXxx1aoBai (#184)Tabs: For the tabs component, outlineType 'capsule' now supports setting selected and unselected tab background colors, and outlineType 'card' supports setting the selected tab background color @ccXxx1aoBaiButton: Fixed the issue where properties could not be changed under the setState method @shizhe2018 (#201)SearchBar: Added a controller to the search bar, allowing external clearing of search text @shizhe2018 (#194)Slider: Added custom Decoration styles @shizhe2018 (#198)Empty: Added text size style API @shizhe2018 (#219)Dialog: Added input type background @shizhe2018 (#238)
🚧 Others #
- HarmonyOS compilation support @hkaikai (#233)
- Modified theme adaptation tool @Luozf12345
- Added GitHub links for complete pages in demo code @Luozf12345
🌈 0.1.5 2024-05-31 #
🚀 Features #
TDDropdownMenu:- add: Added TDDropdownMenu dropdown menu component @hkaikai
TDTextarea:- add: Added Textarea multiline text box component @hkaikai
TDBottomTabBar:TDBadge:- add: TDBadge badge visibility setting when value is 0 @ccXxx1aoBai
TDRadio:TDCheckbox:- add: TDCheckbox added custom text color
- add: Added API to remove left margin
TDImage:TDInput:TDDivider:- add: Added text style size setting for divider component (#134)
TDToast:- add: Toast added attribute for custom text length (#148)
TDSideBar:
🐞 Bug Fixes #
TDButton:- fix: Added mounted judgment before setState() (#122)
TDDialog:- fix: Modified Dialog to only auto-close when no action is set, if action is set, closing time is handled by the business itself (#117)
🚧 Others #
- Added international language adaptation function
- Adapted to 3.16 text centering, added TDTextConfig usage document
🌈 0.1.4 2024-04-08 #
🚀 Features #
TDCountDown:- add: Added TDCountDown countdown component @hkaikai
TDTheme:- add: Modified the theme implementation method, supporting ref attribute for custom mapping
- add: Added default number font numberFontFamily
TDText:- add: Added TDText force center switch kTextForceVerticalCenterEnable, which can globally disable forced centering to prevent excessive text offset after flutter 3.16 version (#35)
TDBottomTabBar:- add: Added custom background color feature (#55)
TDCheckbox:TDTabBar:- add: TDTabBar adds custom settings for divider color and height (#71)
TDSwitch:- add: TDSwitch supports custom "on/off" text (#73)
TDDialog:- add: Added custom title alignment and content Widget feature (#58)
🐞 Bug Fixes #
TDSlider:- fix: Fixed an issue where TDSlider setting showThumbValue does not work.
TDButton:- fix: Fixed an issue where the external setting of the theme color for TDButton does not take effect (#54)
TDInput:
🚧 Others #
- Example application, added a button to modify the theme, can quickly modify the theme color
🌈 0.1.3 2024-03-15 #
🚀 Features #
TDButton:- add: Support for customizing the corner radius size through TDButtonStyle.radius
TDPicker:- add: Picker component scrolling on PC now supports mouse dragging
- add: For TDPicker and TDDatePicker components, the onConfirm no longer defaults to pop up the component internally, allowing external customization; when OnCancel is not empty, the component will not automatically pop.
TDSwitch:- add: onChanged now supports externally specifying whether to consume the event. If it has been consumed, it will no longer be processed internally (#27)
TDBottomTabBar:- add: Added custom label text style, optimized labText and icon parameter passing (#49)
🐞 Bug Fixes #
TDNavBar:- fix: The height of NavBar is now obtained in real time to prevent it from not being available at the beginning (#34)
TDDialog:- fix: The contentColor parameter in DialogInfo was not passed in (#37)
TDButton:- fix: The click disable effect of TDButton is invalid (#44)
TDInput:TDAlertDialog:- fix: The operation of the default button of the component is open (#40)
TDRadio:- fix: Horizontal arrangement will force the addition of an underline (#40)
TDTabBar:- fix: The indicatorColor does not take effect (#31)
🚧 Others #
- Optimized the performance of commonly used components such as TDButton, TDText, TDTheme, etc.
🌈 0.1.2 2024-01-08 #
🚀 Features #
TDImage:- add: Added FitWidth type to the image, modified the corresponding Demo page (#14)
TDLoading:- add: Added methods for showing and hiding loading (#15)
TDPopup:- add: Added support for customizing the round corners (#17)
TDAvatar:- add: When the avatar type is character or icon, support for customizing the background color is added (#20)
🐞 Bug Fixes #
TDBottomTabBar:- Added a safe area, fixed (#1)
TDButton:- update widget: Button's disable status can be updated
- fix: Button click state is too short (#13)
TDSwiper:- fix: Adapted swiper vertical dot bar style (#19)
TDInput:- fix: The setting of leftLabelStyle does not take effect when type is TDInputType.twoLine (#21)
🚧 Others #
- The minimum compatible version has been changed to 3.7.0 (#3)
0.1.1 #
- reset code style, can run on 3.7.x
0.1.0 #
- publisher to pub.dev stable
0.0.9 #
- update code style
0.0.8 #
- update License
0.0.7 #
- update example main.dart
0.0.6 #
- update slider component, make it is not depend on flutter sdk version
0.0.5 #
- publisher to pub.dev
0.0.4 #
- fix some bugs
0.0.3 #
- delete default value of TDText's package prop, allow set it null value
0.0.2 #
- update ReadMe.md, modify export file is 'tdesign_flutter.dart'
0.0.1 #
- the first version, add button,text and other components.