Skip to content

Instantly share code, notes, and snippets.

View slightfoot's full-sized avatar
💙
Fluttering

Simon Lightfoot slightfoot

💙
Fluttering
View GitHub Profile
@slightfoot
slightfoot / humpday_2025-07-16_2.dart
Created July 16, 2025 18:09
Preserve Position Scroll - Part 2 - by Simon Lightfoot :: #HumpdayQandA on 16th July 2025 :: https://www.youtube.com/watch?v=92TileEhN3g also see https://gist.github.com/slightfoot/70b86fd21f98c7a92c9fe34e114a63983
// 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 / main.dart
Last active July 16, 2025 17:19 — forked from austinstoker/main.dart
Zooming and reorderable list :: https://www.youtube.com/watch?v=92TileEhN3g
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class AppState {
AppState();
final zoomScale = ValueNotifier(1.0); // Initial zoom level
@slightfoot
slightfoot / humpday_2025-07-09_1.dart
Created July 9, 2025 18:56
Stack Canvas - Part 1 - by Simon Lightfoot and Alois Daniel :: #HumpdayQandA on 9th July 2025 :: https://www.youtube.com/watch?v=ilvgEENnBjg
// 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 / humpday_2025-07-02_1.dart
Created July 2, 2025 18:29
Animated Image Grid - Part 2 - by Simon Lightfoot :: #HumpdayQandA on 2nd July 2025 :: https://www.youtube.com/watch?v=C2_bZZHg-ag
// 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 / humpday_2025-06-18_1.dart
Created June 18, 2025 19:02
Animated Image Grid - by Simon Lightfoot :: #HumpdayQandA on 18th June 2025 :: https://www.youtube.com/watch?v=ZL3ZK55xhBA
// 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 / humpday_2025-06-04_1.dart
Created June 4, 2025 19:04
Preserve Position Scroll - by Simon Lightfoot :: #HumpdayQandA on 4th June 2025 :: https://www.youtube.com/watch?v=DfMHiEs5j2o
// 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 / humpday_2025-05-14_1.dart
Created May 14, 2025 18:14
Custom Scrolling Offsets - by Simon Lightfoot :: #HumpdayQandA on 14th May 2025 :: https://www.youtube.com/watch?v=D9y5G3LmrSY
// 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 / humpday_2025-05-04_2.dart
Created May 7, 2025 18:58
MVPVMS pattern - by Simon Lightfoot :: #HumpdayQandA on 7th May 2025 :: https://www.youtube.com/watch?v=CqmhwUnesvQ
// 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 / humpday_2025-05-04_1.dart
Created May 7, 2025 18:57
3D spinny ball - by Simon Lightfoot :: #HumpdayQandA on 7th May 2025 :: https://www.youtube.com/watch?v=CqmhwUnesvQ
// 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 / humpday_2025-04-30_1.dart
Created April 30, 2025 18:02
Joined sliver scrolling - by Simon Lightfoot :: #HumpdayQandA on 30th April 2025 :: https://www.youtube.com/watch?v=1U-zd6MYrOA
// 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: