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
version: '3.3' | |
services: | |
mssql: | |
container_name: sql-server | |
image: mcr.microsoft.com/mssql/server:2022-latest | |
restart: always | |
environment: | |
ACCEPT_EULA: "Y" | |
SA_PASSWORD: "dothuthao1993" |
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'; | |
void main() { | |
runApp(const App()); | |
} | |
const List<Widget> childrenConst = [ | |
StatefulConst(), | |
StatelessConst(), | |
]; |
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'; | |
void main() { | |
runApp(const App()); | |
} | |
class App extends StatelessWidget { | |
const App({Key? key}) : super(key: key); | |
@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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const App()); | |
} | |
class App extends StatelessWidget { | |
const App({Key? key}) : super(key: key); | |
@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
import 'package:flutter/material.dart'; | |
void main() => runApp(HomePage()); | |
const red = Colors.red; | |
const green = Colors.green; | |
const blue = Colors.blue; | |
const big = TextStyle(fontSize: 30); | |
////////////////////////////////////////////////// |
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
void main() { | |
final sampleData = <DayModel>[ | |
DayModel(0, [ | |
LearningModel('Sample 0.1'), | |
LearningModel('Sample 0.2'), | |
LearningModel('Sample 0.3'), | |
LearningModel('Sample 0.4'), | |
]), | |
DayModel(1, [ | |
LearningModel('Sample 1.1'), |
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 'dart:async'; | |
import 'dart:isolate'; | |
void main(List<String> arguments) async { | |
Executor executor = await Executor.create(); | |
executor.run(Task('Name 1', task1)); | |
executor.run(Task('Name 2', task2)); | |
executor.run(Task('Name 3', task3)); | |
print('sent'); |
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 'dart:async'; | |
import 'dart:isolate'; | |
void main(List<String> arguments) async { | |
Executor executor = await Executor.create(); | |
executor.run(Task('Name 1', task1)); | |
executor.run(Task('Name 2', task2)); | |
executor.run(Task('Name 3', task3)); | |
print('sent'); |
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
Assign data to result |
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
main() = print('Hello, World!'); |
NewerOlder