Skip to content

Commit

Permalink
替换icon资源
Browse files Browse the repository at this point in the history
  • Loading branch information
Luozf12345 committed Feb 1, 2023
1 parent 5a6133d commit 9fb0d10
Show file tree
Hide file tree
Showing 158 changed files with 365 additions and 962 deletions.
Binary file modified assets/tdesign/td_icons.ttf
Binary file not shown.
Binary file removed assets/tdesign/td_icons_new.ttf
Binary file not shown.
29 changes: 2 additions & 27 deletions example/lib/page/td_icon_page.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:tdesign_flutter/td_export.dart';
import 'package:tdesign_flutter/src/components/icon/td_icons_new.dart' as codesign;

import '../../base/example_widget.dart';

Expand All @@ -17,7 +16,7 @@ class _TDIconPageState extends State<TDIconPage> {
Widget build(BuildContext context) {
return ExamplePage(title: 'icon图标',
children: [
ExampleModule(title: 'figma',
ExampleModule(title: 'icon示例',
children: [
ExampleItem(
desc: 'icon数量: ${TDIcons.all.length}',
Expand All @@ -40,31 +39,7 @@ class _TDIconPageState extends State<TDIconPage> {
],
),
))
]),
ExampleModule(title: 'codesign',
children: [
ExampleItem(
desc: 'icon数量: ${TDIcons.all.length}',
builder: (_) => Container(
color: Colors.white,
alignment: Alignment.center,
child: Wrap(
children: [
for (var iconData in codesign.TDIcons.all.values) SizedBox(
height: 100,
width: 175,

child: Column(
children: [
Icon(iconData),
TDText(iconData.name)
],
),
)
],
),
))
]),
])
]);

}
Expand Down
24 changes: 0 additions & 24 deletions example/shell/Icons/TDesign_logo.svg

This file was deleted.

2 changes: 1 addition & 1 deletion example/shell/Icons/add_circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/arrow_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/arrow_down_rectangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/arrow_up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/attach.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions example/shell/Icons/backtop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions example/shell/Icons/backtop_rectangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/backward.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/shell/Icons/books.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions example/shell/Icons/browse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions example/shell/Icons/browse_off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions example/shell/Icons/bulletpoint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9fb0d10

Please sign in to comment.