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 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
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(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); | |
@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
import 'dart:math'; | |
void main() { | |
/// Enter list of LCNumbers to sort in quotes ("") separated by comma (,) | |
List<Book> books = <String>[ | |
"GN799.A41 H6 2017", | |
"PQ4843.O53 G313", | |
"CR6005.O35 L3 1954", | |
"GN799.A41 H6 1937", | |
"ZR605.A35 H5 1979", |
Start the server (for installation see Install instructions)
pg_ctl -D /opt/homebrew/var/postgresql@14 start
Stop the server
pg_ctl -D /opt/homebrew/var/postgresql@14 start
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(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({ | |
super.key, | |
}); | |
@override |
h - move cursor left j - move cursor down k - move cursor up
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/foundation.dart'; | |
void main() { | |
final newWord = Word('123','hello','greet'); | |
newWord.copyWith(id: '345',word:"edited word"); | |
print(newWord.id); // `123` instead of `345` | |
print(newWord.word); // `hello` instead of `edited word` | |
} | |
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()); | |
} | |
Settings appSettings = Settings(); | |
class MyApp extends StatelessWidget { | |
@override |
NewerOlder