Skip to content

Instantly share code, notes, and snippets.

View TesteurManiak's full-sized avatar
🎯
Dart/Flutter Software Engineer

Guillaume Roux TesteurManiak

🎯
Dart/Flutter Software Engineer
View GitHub Profile
@slightfoot
slightfoot / humpday_2025-08-06_1.dart
Last active September 16, 2025 19:16
Stack Canvas - with Active Rebulding - Part 3 - by Simon Lightfoot :: #HumpdayQandA on 6th August 2025 :: https://www.youtube.com/watch?v=HV634FxxdPs
// MIT License
//
// Copyright (c) 2025 Simon Lightfoot
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@slightfoot
slightfoot / smooth_scroll.dart
Created July 14, 2022 17:35
Correct smooth scroll for Flutter Web - by Simon Lightfoot - 14th July 2022
// MIT License
//
// Copyright (c) 2022 Simon Lightfoot
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@cpboyd
cpboyd / material_with_modal_page.dart
Created October 6, 2020 04:36
modal_bottom_sheet Router 2.0 support
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart';
/// A page that creates a material style [PageRoute].
///
/// {@macro flutter.material.materialRouteTransitionMixin}
///
/// By default, when the created route is replaced by another, the previous
/// route remains in memory. To free all the resources when this is not
@avioli
avioli / animated_map_controller.dart
Last active November 28, 2024 04:29
A helper to animate a flutter_map's MapController
import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart' show MapController;
import 'package:latlong/latlong.dart';
// ////////////////////////////////////////////////////////////////////////////
class AnimatedMapController {
/// Creates an animated MapController
AnimatedMapController({
@required this.mapController,
@mjohnsullivan
mjohnsullivan / expanding_app_bar.dart
Last active August 27, 2021 16:53
Expanding AppBar in Flutter
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Expanding AppBar Example',
theme: new ThemeData(
@kasperpeulen
kasperpeulen / README.md
Last active March 14, 2025 13:39
How to pretty-print JSON using Dart.