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
{ | |
"name":"Filer", | |
"version":"1.0.2", | |
"date":"3 Jul 2020", | |
"desc":"made some Improvements, addded Google Auth", | |
"download":"https://drive.google.com/file/d/1y0lVJswwk95N3lkS1Gr2on5wtC6uCBoi/view?usp=drivesdk" | |
} |
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 'package:firebase_database/firebase_database.dart'; | |
import 'package:flutter/services.dart'; | |
import 'package:link_preview_generator/link_preview_generator.dart'; | |
// { | |
// "groups": { | |
// "group1": { | |
// "links": { | |
// "link1": { | |
// "title": "Link 1 Title", |
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
Material( | |
type: MaterialType.transparency, | |
child: InkWell( | |
onTap: () { | |
print('tapped'); | |
}, | |
child: Ink( | |
height: 60, | |
width: 200, | |
decoration: BoxDecoration( |
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
void main() { | |
Duck().fly(); | |
Duck().swim(); | |
Duck().move(); | |
} | |
class Animal{ | |
void move(){ | |
print('moving position'); | |
} |
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
List<int> winningNumbers = [12, 6, 34, 22, 41, 9]; | |
void main() { | |
List<int> ticket1 = [45, 2, 9, 18, 12, 33]; | |
List<int> ticket2 = [41, 17, 26, 32, 7, 35]; | |
checkNumbers(ticket2); |
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
void main() { | |
buyMilk(10); | |
} | |
void buyMilk(int days){ | |
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
void main() { | |
//Crate Car object | |
Car myCar = Car(drive: slowDrive); | |
//myCar.drive!(); | |
//Now lets say upgrade car |
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
void main() { | |
int age = 123; | |
bool canBuySharab = age>21? true: false; | |
print(canBuySharab); | |
} | |
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
void main() { | |
Car myCar = Car(carStyle: CarType.convertible); | |
} | |
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
void main() { | |
//Object | |
var selfCar = SelfDrivingCar(destination: 'Lasani colony'); | |
selfCar.run(); | |
} | |
class Car { | |
int seats = 4; |
NewerOlder