Skip to content

Commit 393b62a

Browse files
committed
update Example
1 parent aece86f commit 393b62a

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

example/ios/Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Uncomment the next line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
target 'Runner' do
5+
# Comment the next line if you don't want to use dynamic frameworks
6+
use_frameworks!
7+
8+
# Pods for Runner
9+
10+
end

example/lib/main.dart

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'package:flutter/material.dart';
22
import 'package:flutter_icons/flutter_icons.dart';
3-
import 'ant_design_page.dart';
43

54
void main() => runApp(MyApp());
65

@@ -22,10 +21,7 @@ class MyApp extends StatelessWidget {
2221
// is not restarted.
2322
primarySwatch: Colors.blue,
2423
),
25-
home: MyHomePage(title: 'Icons Explorer'),
26-
routes: {
27-
"icon_page":(_)=>AntDesignPage()
28-
},
24+
home: MyHomePage(title: 'Flutter Icons'),
2925
);
3026
}
3127
}
@@ -60,7 +56,13 @@ class _MyHomePageState extends State<MyHomePage> {
6056
child: Column(
6157
crossAxisAlignment: CrossAxisAlignment.start,
6258
children: [
63-
Icon(AntDesign.login)
59+
Icon(AntDesign.stepforward),
60+
Icon(Ionicons.ios_search),
61+
Icon(FontAwesome.glass),
62+
Icon(MaterialIcons.ac_unit),
63+
Icon(FontAwesome5.address_book),
64+
Icon(FontAwesome5Solid.address_book),
65+
Icon(FontAwesome5Brands.$500px)
6466
],
6567
),
6668
),

0 commit comments

Comments
 (0)