Skip to content

Instantly share code, notes, and snippets.

View yacineblr's full-sized avatar

Belarbi Yacine yacineblr

  • Lyon
View GitHub Profile
'<script>console.log('inject.js');<script>
@yacineblr
yacineblr / main.dart
Last active July 7, 2020 19:22
How to play with the red box
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@yacineblr
yacineblr / main.dart
Created May 13, 2020 11:21
The navigator takes all the available space and therefore blocks it by tapping on the red block. Is it possible to make the navigator adapt to the size of the child?
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,