File tree Expand file tree Collapse file tree
tdesign-component/example/lib/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -303,7 +303,8 @@ class _ExamplePageState extends State<ExamplePage> {
303303 TDText (
304304 widget.title,
305305 font: TDTheme .of (context).fontHeadlineSmall,
306- textColor: TDTheme .of (context).textColorPrimary,
306+ // todo BuildContext
307+ // textColor: TDTheme.of(context).textColorPrimary,
307308 ),
308309 Container (
309310 margin: const EdgeInsets .only (
@@ -312,6 +313,7 @@ class _ExamplePageState extends State<ExamplePage> {
312313 child: TDText (
313314 widget.desc,
314315 font: TDTheme .of (context).fontBodyMedium,
316+ // todo BuildContext
315317 textColor: TDTheme .of (context).textColorSecondary,
316318 ),
317319 ),
@@ -331,7 +333,8 @@ class _ExamplePageState extends State<ExamplePage> {
331333 child: TDText (
332334 '${index < 10 ? "0$index " : index } ${data .title }' ,
333335 font: TDTheme .of (context).fontTitleLarge,
334- textColor: TDTheme .of (context).textColorPrimary,
336+ // todo BuildContext
337+ // textColor: TDTheme.of(context).textColorPrimary,
335338 fontWeight: FontWeight .bold,
336339 ),
337340 ),
You can’t perform that action at this time.
0 commit comments