File tree Expand file tree Collapse file tree 3 files changed +4
-365
lines changed Expand file tree Collapse file tree 3 files changed +4
-365
lines changed Original file line number Diff line number Diff line change 1
1
import 'package:flutter/widgets.dart' ;
2
- import 'package:optimus/optimus.dart' ;
3
- import 'package:storybook/stories/icon/icons_list.dart' ;
4
2
import 'package:storybook_flutter/storybook_flutter.dart' ;
5
3
6
4
final Story allIconsStory = Story (
7
5
name: 'Media/Icons/All Icons' ,
8
- builder: (context) => GridView .builder (
9
- itemCount: optimusIcons.length,
10
- gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount (
11
- crossAxisCount: 5 ,
12
- ),
13
- itemBuilder: (context, index) => Padding (
14
- padding: const EdgeInsets .all (8 ),
15
- child: Column (
16
- children: [
17
- OptimusIcon (iconData: optimusIcons[index].data),
18
- Text (
19
- optimusIcons[index].name,
20
- overflow: TextOverflow .ellipsis,
21
- ),
22
- ],
23
- ),
24
- ),
25
- ),
6
+ builder: (context) =>
7
+ const Center (), // TODO(witwash): return after new optimus_icons is released
26
8
);
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -231,15 +231,15 @@ packages:
231
231
source: path
232
232
version: "0.37.0"
233
233
optimus_icons:
234
- dependency: "direct main"
234
+ dependency: transitive
235
235
description:
236
236
name: optimus_icons
237
237
sha256: e79dba5ca6574be6de22f3c9863da45f03ac5679c507eb91e1b671765ec0f8dd
238
238
url: "https://pub.dev"
239
239
source: hosted
240
240
version: "0.1.0+1"
241
241
path:
242
- dependency: "direct dev"
242
+ dependency: transitive
243
243
description:
244
244
name: path
245
245
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
You can’t perform that action at this time.
0 commit comments