Skip to content

Instantly share code, notes, and snippets.

View PoojaB26's full-sized avatar

Pooja Bhaumik PoojaB26

View GitHub Profile
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>();
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 =
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(
{
"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",
#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;