This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'dart:async'; | |
import 'package:async_loader/async_loader.dart'; | |
import 'package:github_search_async/api_services.dart'; | |
import 'package:github_search_async/repositories_model.dart'; | |
import 'package:github_search_async/repo_list_item.dart'; | |
class RepoScreen extends StatelessWidget { | |
final GlobalKey<AsyncLoaderState> asyncLoaderState = | |
new GlobalKey<AsyncLoaderState>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'dart:async'; | |
import 'package:async_loader/async_loader.dart'; | |
import 'package:github_search_async/api_services.dart'; | |
import 'package:github_search_async/repositories_model.dart'; | |
import 'package:github_search_async/repo_list_item.dart'; | |
class RepoScreen extends StatelessWidget { | |
final GlobalKey<AsyncLoaderState> asyncLoaderState = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Widget getNoConnectionWidget(){ | |
return Column( | |
mainAxisSize: MainAxisSize.max, | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
SizedBox( | |
height: 60.0, | |
child: new Container( | |
decoration: new BoxDecoration( | |
image: new DecorationImage( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"products": [ | |
{ | |
"product_id": "1", | |
"product_label": "white_shirt", | |
"product_url": "https://assets.abfrlcdn.com/img/app/product/1/172901-434647-large.jpg" | |
}, | |
{ | |
"product_id": "2", | |
"product_label": "top", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
typedef struct n{ | |
int data; | |
struct n* next; | |
}node; | |
node* root=NULL; | |
node* makenull(){ | |
node* nwd=(node*)malloc(sizeof(node)); | |
nwd->next=NULL; |
NewerOlder