Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View guidezpl's full-sized avatar

Pierre-Louis guidezpl

View GitHub Profile
diff --git a/bin/internal/material_fonts.version b/bin/internal/material_fonts.version
index 1fc6ca8ee2..18a9e017d3 100644
--- a/bin/internal/material_fonts.version
+++ b/bin/internal/material_fonts.version
@@ -1 +1 @@
-flutter_infra_release/flutter/fonts/2bd9eee6ec6077fd19ab82366e2990f0193e2ee3/fonts.zip
+flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip
diff --git a/packages/flutter/lib/src/material/icons.dart b/packages/flutter/lib/src/material/icons.dart
index 70bd1dec21..ef17a14629 100644
@guidezpl
guidezpl / main.dart
Last active November 23, 2020 15:04
Cupertino widgets in MaterialApp
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main() => runApp(MyApp());
@guidezpl
guidezpl / framework.dart
Created June 22, 2020 13:36
Modified Flutter framework.dart to print widget counts (generic version)
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'dart:async';
import 'dart:collection';
import 'dart:developer';
@guidezpl
guidezpl / framework.dart
Created June 22, 2020 13:34
Modified Flutter framework.dart to print widget counts (web version with reset)
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'dart:async';
import 'dart:collection';
import 'dart:developer';
@guidezpl
guidezpl / main.dart
Last active May 20, 2021 11:10
ListView.builder with pre-created items
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Material(
@guidezpl
guidezpl / main.dart
Last active May 20, 2021 11:10
ListView example
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Material(
@guidezpl
guidezpl / main.dart
Last active May 20, 2021 11:10
ListView.builder example
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Material(
console.log('here');