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; |
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
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
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
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
# Note: iOS app previews are only available with Codemagic paid plan. | |
# IPA needs to be signed. Docs for signing: https://docs.codemagic.io/yaml-code-signing/signing-ios/ | |
# | |
# You need to add your GitHub PAT as environment variable to Codemaigc. | |
# Docs to create PAT: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token | |
workflows: | |
app-preview: | |
name: App Preview | |
instance_type: mac_pro |
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'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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'; | |
void main(){ | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
OlderNewer