Skip to content

Instantly share code, notes, and snippets.

View stephanedeluca's full-sized avatar

Stéphane de Luca stephanedeluca

View GitHub Profile
@stephanedeluca
stephanedeluca / main.dart
Created December 18, 2023 16:48
mellow-ray-5050
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@stephanedeluca
stephanedeluca / main.dart
Last active September 26, 2023 16:17
Debugger
// Interactive debugger by Sdl https://Stephanedeluca.com
// on Tuesday September 27th 2023 to answer https://stackoverflow.com/posts/77181687
import "dart:async";
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
@stephanedeluca
stephanedeluca / main.dart
Created September 26, 2023 15:28
hollow-spray-0532
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@stephanedeluca
stephanedeluca / main.dart
Last active July 17, 2023 12:12
Yassine b13
import 'package:flutter/material.dart';
const _buildNumber = 13;
// lets define the stateless part of the screen (theme, AppBar, app title, background color...)
class MetaDataAdScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
@stephanedeluca
stephanedeluca / main.dart
Last active July 16, 2023 01:04
Yassine b12
import 'package:flutter/material.dart';
const _buildNumber = 12;
// lets define the stateless part of the screen (theme, AppBar, app title, background color...)
class MetaDataAdScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
@stephanedeluca
stephanedeluca / main.dart
Created July 10, 2023 15:08
Video compression from within isolate issue
import 'dart:isolate';
import 'package:flutter/material.dart';
import 'package:video_compress/video_compress.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
@stephanedeluca
stephanedeluca / main.dart
Created July 10, 2023 15:07
infinite-aqueduct-2913
import 'dart:isolate';
import 'package:flutter/material.dart';
import 'package:video_compress/video_compress.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
@stephanedeluca
stephanedeluca / main.dart
Created July 10, 2023 15:06
swift-aurora-7084
import 'dart:isolate';
import 'package:flutter/material.dart';
import 'package:video_compress/video_compress.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {