Skip to content

Commit 9679cc8

Browse files
Fixed a fatal bug in types
1 parent 296a31f commit 9679cc8

32 files changed

+2077
-318
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [0.0.6]
2+
* Fixed a fatal bug in types
3+
14
## [0.0.5]
25
* Updated to work with HTTPS websites
36
* Minor bug fixes

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,15 @@ class _MyHomePageState extends State<MyHomePage> {
3838
List<Widget> products = [];
3939
4040
Future getProducts() async {
41+
42+
/// Initialize the API
4143
WooCommerceAPI wc_api = new WooCommerceAPI(
4244
"http://samarth.todaylivedeal.com",
4345
"ck_2b548f9652a3468f67bbc5bdb04e48edf270a000",
4446
"cs_fa349f1ba49b519ba9493eb2b64c88781b286b52"
4547
);
46-
48+
49+
/// Get data using the endpoint
4750
var p = await wc_api.getAsync("products");
4851
return p;
4952
}
@@ -74,7 +77,8 @@ class _MyHomePageState extends State<MyHomePage> {
7477
return ListView.builder(
7578
itemCount: s.data.length,
7679
itemBuilder: (_, index){
77-
80+
81+
/// create a list of products
7882
return ListTile(
7983
leading: CircleAvatar(
8084
child: Image.network(s.data[index]["images"][0]["src"]),

android/local.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sdk.dir=H:\\Android\\sdk
22
flutter.sdk=H:\\flutter
3-
flutter.versionName=0.0.5
3+
flutter.versionName=0.0.6

0 commit comments

Comments
 (0)