Skip to content

Instantly share code, notes, and snippets.

View AndreyKedo's full-sized avatar
🇷🇺

Dashkevich Andrey Maksimovich AndreyKedo

🇷🇺
View GitHub Profile
@AndreyKedo
AndreyKedo / main.dart
Created October 15, 2025 05:33 — forked from PlugFox/main.dart
Dots Loading Indicator
/*
* Dots Loading Indicator
* https://gist.github.com/PlugFox/e486dcaf99d958973a1f1b1cddea789b
* https://dartpad.dev?id=e486dcaf99d958973a1f1b1cddea789b
* Mike Matiunin <[email protected]>, 14 October 2025
*/
// ignore_for_file: curly_braces_in_flow_control_structures
import 'dart:typed_data';
@AndreyKedo
AndreyKedo / main.dart
Created July 5, 2024 06:43 — forked from PlugFox/main.dart
Controlled Stateful Widget
/*
* Controlled Stateful Widget
* https://gist.github.com/PlugFox/629202b0a7bcde8de3a7503bd33308bc
* https://dartpad.dev?id=629202b0a7bcde8de3a7503bd33308bc
* Mike Matiunin <[email protected]>, 05 July 2024
*/
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
class AnimatedEdgeSlide extends SingleChildRenderObjectWidget {
const AnimatedEdgeSlide({
required Widget super.child,
required this.positionAnimation,
super.key,
});
@AndreyKedo
AndreyKedo / main.dart
Created December 28, 2023 11:37 — forked from PlugFox/main.dart
Long Polling example
/*
* Long Polling example
* https://gist.github.com/PlugFox/51038cb6f587332f6e803790a7d991e5
* https://dartpad.dev?id=51038cb6f587332f6e803790a7d991e5
* Matiunin Mikhail <[email protected]>, 29 October 2023
*/
// ignore_for_file: avoid_print
import 'dart:async';
@AndreyKedo
AndreyKedo / main.dart
Last active December 25, 2023 14:26 — forked from PlugFox/main.dart
Side panel example
/*
* Side panel example
* https://gist.github.com/PlugFox/ed60c155e7792d92b5400ca1652f0c2c
* https://dartpad.dev?id=ed60c155e7792d92b5400ca1652f0c2c
* Matiunin Mikhail <[email protected]>, 23 December 2023
*/
import 'dart:async';
import 'dart:developer';
@AndreyKedo
AndreyKedo / example.dart
Created December 19, 2023 14:41 — forked from PlugFox/example.dart
Flutter Shimmer & Skeleton
void main() => runZonedGuarded<void>(
() => runApp(const App()),
(error, stackTrace) => log('Top level exception $error'),
);
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) => MaterialApp(
@AndreyKedo
AndreyKedo / text_measure.dart
Created October 19, 2023 07:31 — forked from PlugFox/text_measure.dart
Text measure widget
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
/// {@template text_measure}
/// TextMeasure widget.
/// {@endtemplate}
class TextMeasure extends StatefulWidget {
@AndreyKedo
AndreyKedo / main.dart
Created August 20, 2023 14:35 — forked from Piinks/main.dart
Two Dimensional Grid in Flutter
// 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 'dart:math' as math;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';