This file contains hidden or 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
Scaffold( | |
body: Container( | |
color: Colors.blueGrey, | |
child: Center( | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
Text("Hello World") | |
], | |
), |
This file contains hidden or 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
MaterialButton( | |
child: Text( | |
"Cupertino date Picker", | |
style: TextStyle(color: Colors.white), | |
), | |
color: Colors.redAccent, | |
onPressed: () { | |
showModalBottomSheet( | |
context: context, | |
builder: (BuildContext builder) { |
This file contains hidden or 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 'package:flutter/cupertino.dart'; | |
void main() { | |
runApp(CupertinoExample()); | |
} | |
class CupertinoExample extends StatefulWidget { | |
@override | |
_CupertinoExampleState createState() => _CupertinoExampleState(); |
This file contains hidden or 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 'package:flutter/services.dart'; //used for fullscreen | |
void main() => runApp(AwesomeApp()); | |
class AwesomeApp extends StatefulWidget { | |
@override | |
_AwesomeAppState createState() => _AwesomeAppState(); | |
} |
This file contains hidden or 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 java.io.*; | |
import java.util.*; | |
import java.text.*; | |
import java.math.*; | |
import java.util.regex.*; | |
public class Solution { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); |
This file contains hidden or 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
var array = [{ | |
name:'xyz', | |
ranking: 13 | |
},{ | |
name:'xys', | |
ranking:243 | |
},{ | |
name:'pqr', | |
ranking: -32 | |
},{ |
This file contains hidden or 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
nightBloc.dart | |
import 'dart:async'; | |
import 'package:rxdart/rxdart.dart'; | |
class NightBloc { | |
final nightController = BehaviorSubject<bool>(); | |
StreamSink<bool> get toggleSink => nightController.sink; |
This file contains hidden or 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
n | |
{deleted:false,updated_at:1573032117501,count:0,created_at:1573032117501,_id:71343504-6880-42a5-9eef-fc23487fdffe,family_name:jamdade,first_name:mahesh} | |
{skill:[]} | |
{from:,deleted:false,designation:,totalExperience:0,name_of_organisation:} | |
{degree:,gpa:0.0,deleted:false,till:,name_of_organisation:} | |
{user_id:fe34758f-6069-4824-a3cf-4bc2e94aa956,reputation:0,deleted:false} | |
{deleted:false,invited_by:67d20fe6-34e2-4b04-9320-b8ed36eea475,_id:82f63c8d-4a0b-4600-b28e-bd2997a72485,invite_accepted:false} | |
{deleted:false,invited_by:14912452-e5cc-41b9-8f91-ff4403134bff,_id:2674b668-3be6-4f74-8965-93ccb3bac82d,invite_accepted:false} | |
{deleted:false,invited_by:14912452-e5cc-41b9-8f91-ff4403134bff,_id:15ef58d8-510d-401a-a560-c765a5b32a70,invite_accepted:false} | |
{deleted:false,invited_by:67d20fe6-34e2-4b04-9320-b8ed36eea475,_id:c88fd5e8-0a8a-44df-9aae-d4a40d6e07cc,invite_accepted:false} |
This file contains hidden or 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'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
This file contains hidden or 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
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
OlderNewer