Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 85d55ef

Browse files
committedMar 14, 2023
.
1 parent 8bb4757 commit 85d55ef

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed
 

‎README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ Tools • Dart 2.19.0 • DevTools 2.20.1
4646
![](./doc/screens/windows-1.png)
4747

4848

49+
> 开源不易,请我喝咖啡 ~
50+
51+
![](./ewm/coffee.webp)
4952

5053
### 一、组件的展示页面
5154

‎doc/ewm/coffee.webp

32.4 KB
Binary file not shown.

‎lib/painter_system/base/windmill.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ class _WindmillWidgetState extends State<WindmillWidget>
2525
super.initState();
2626
}
2727

28+
@override
29+
void dispose() {
30+
_ctrl.dispose();
31+
super.dispose();
32+
}
33+
2834
@override
2935
Widget build(BuildContext context) {
3036
return GestureDetector(

‎lib/widget_ui/desk_ui/category_panel/desk_category_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class _DeskCategoryPageState extends State<DeskCategoryPage> {
3131
children: [
3232
DeskTabTopBar(onTabPressed: (int value) {
3333
_ctrl.jumpToPage(value);
34-
}, tabs: ['收藏记录','珍藏组件',
34+
}, tabs: ['组件酒肆','珍藏组件',
3535
// '添加收藏集'
3636
],),
3737
Expanded(child: PageView(

‎lib/widget_ui/mobile/widget_detail/category_end_drawer.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ class _CategoryInfoState extends State<CategoryInfo> {
103103
@override
104104
Widget build(BuildContext context) {
105105
return Padding(
106-
padding: const EdgeInsets.symmetric(horizontal: 10.0),
106+
padding: const EdgeInsets.symmetric(horizontal: 8.0),
107107
child: Wrap(
108108
alignment: WrapAlignment.spaceBetween,
109109
spacing: 4,
110+
runSpacing: 8,
110111
children: categories.map((e) => _buildItem(e)).toList(),
111112
),
112113
);
@@ -119,9 +120,9 @@ class _CategoryInfoState extends State<CategoryInfo> {
119120
selectedColor: Colors.orange.withAlpha(120),
120121
shadowColor: Theme.of(context).primaryColor,
121122
elevation: 1,
122-
labelPadding: const EdgeInsets.only(right: 4,left: 4),
123+
// labelPadding: const EdgeInsets.only(right: 4,left: 4),
123124
avatar: Circle(
124-
radius: 13,
125+
radius: 10,
125126
color: category.color,
126127
),
127128
selected: inHere,

0 commit comments

Comments
 (0)
Please sign in to comment.