Skip to content

Instantly share code, notes, and snippets.

View spynos's full-sized avatar
🎯
Focusing

Spynos spynos

🎯
Focusing
  • Integro Medi Lab
  • Korea, South
View GitHub Profile
@spynos
spynos / main.dart
Last active March 13, 2023 13:15
Constraints
import 'package:flutter/material.dart';
void main() => runApp(const HomePage());
const red = Colors.red;
const green = Colors.green;
const blue = Colors.blue;
const big = TextStyle(fontSize: 30);
//////////////////////////////////////////////////
@spynos
spynos / mediaquerydata-demo.dart
Created March 13, 2023 00:48 — forked from craiglabenz/mediaquerydata-demo.dart
Demonstrates Padding vs ViewPadding vs ViewInsets
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@spynos
spynos / main.dart
Last active March 8, 2023 05:18
LottoNumbers
import 'package:flutter/material.dart';
import 'dart:math';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@spynos
spynos / main.dart
Created October 29, 2020 07:21
LayoutBuilder - AutoSized fontSize
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@spynos
spynos / main.dart
Created October 14, 2020 06:53
Flutter - FractionallySizedBox
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@spynos
spynos / main.dart
Last active September 17, 2020 05:35
Flutter - Bulls and Cows
import 'package:flutter/material.dart';
import 'dart:math';
void main() {
runApp(
MaterialApp(
home: NumberGame(),
),
);
}