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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<script type='text/javascript' src="https://cdn.jsdelivr.net/npm/afterglowplayer@1/dist/afterglow.min.js"></script> | |
</head> | |
<style> |
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
<html> | |
<head> | |
</head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
</html> | |
</p> |
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
<!--HTML--> | |
<html> | |
<head> | |
<style type="text/css"> | |
/*CSS*/ | |
* { | |
font-family: sans-serif; /* Change your font family */ | |
} |
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:date_format/date_format.dart'; | |
class TEST extends StatefulWidget { | |
@override | |
_TESTState createState() => _TESTState(); | |
} | |
class _TESTState extends State<TEST> { | |
String currentDate = formatDate(DateTime.now(), [mm, '-', dd, '-', yyyy]); |
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
// ignore_for_file: prefer_const_constructors | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
class MyDrawer extends StatelessWidget { | |
const MyDrawer({Key? key}) : super(key: key); | |
final imageURL = "https://avatars.githubusercontent.com/u/61882549?v=4"; | |
@override | |
Widget build(BuildContext context) { |
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(){ | |
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(){ | |
var name = 'Faizan'; | |
var age = 20; | |
var height = 1.14; | |
describe(name,age,height); | |
describe("JONI",24,22.4); |
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() { | |
final person = Person(name: "Faizan", age: 33, height: 1.4); | |
print(person.name); | |
} | |
class Person { | |
Person({required this.age, required this.height, required this.name}); | |
String name; | |
int age; |
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() { | |
//Create Objects from Human Class | |
//Create 1st Object | |
var newHuman = Human(age:0); | |
print(newHuman.age); | |
//Create second Object | |
final human2 = Human(age:23,eyes:2); |
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
//[ Classes / Objects / Methds] | |
void main() { | |
//Creating Object [jaguar] from Car Class | |
var normalJaguar = Car(); | |
//Accessing the method | |
normalJaguar.run('JAGUAR'); | |
OlderNewer