Skip to content

Instantly share code, notes, and snippets.

View followthemoney1's full-sized avatar
🏠
Working from home

Dmitry followthemoney1

🏠
Working from home
View GitHub Profile
@followthemoney1
followthemoney1 / blur.flutter
Created March 9, 2026 15:35
gradient soft blur effect in flutter. This is how you can use blur effect without frag files and just simple blur effect where on one side its full blurred and on other side of gradient it is not blurred at all
import 'dart:ui';
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
home: Scaffold(
body: MyApp(),
),
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:pod_payment/core/contants/size_constants.dart';
import 'package:pod_payment/core/extensions/context_extension.dart';
import 'package:pod_payment/shared/widgets/pod_svg.dart';
import 'package:pod_payment/core/contants/image_constants.dart';
typedef ValidationChecker = String? Function(String?);
class PodTextField extends StatefulWidget {
@followthemoney1
followthemoney1 / flutter_name_validation.dart
Last active November 10, 2025 16:09
Good Flutter User Name Validation
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:form_builder_validators/form_builder_validators.dart';
import 'package:recase/recase.dart';
/// Custom TextInputFormatter that converts input to title case
class TitleCaseTextInputFormatter extends TextInputFormatter {
@override
TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue) {
if (newValue.text.isEmpty || newValue.text.endsWith(' ')) {
@followthemoney1
followthemoney1 / main.dart
Last active July 28, 2025 10:18
Generated code from pixels2flutter.dev
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
@followthemoney1
followthemoney1 / card_swipe.dart
Created April 26, 2024 14:25
card swiper created with custom transform
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
@followthemoney1
followthemoney1 / parallax.dart
Created October 12, 2023 16:37
Flutter parallax effect carousel animation with page view, transform
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@followthemoney1
followthemoney1 / iframe.dart
Created May 9, 2023 13:43
dart, iframe using
import 'dart:html' as html;
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'dart:math' as math;
// class IframeView extends StatefulWidget {
// final String html;
// const IframeView({
// Key? key,
@followthemoney1
followthemoney1 / flutter_github_ci.yml
Created December 2, 2022 11:45 — forked from rodydavis/flutter_github_ci.yml
Flutter Github Actions Build and Deploy Web to Firebase Hosting, iOS to Testflight, Android to Google Play (fastlane)
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_web:
@followthemoney1
followthemoney1 / popup.dart
Created September 5, 2022 13:52
popUpExample
import 'package:auto_size_text/auto_size_text.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:sport_news/ui/widgets/expand_item_transition.dart';
import 'package:sport_news/ui/widgets/my_text_field.dart';
import 'package:sport_news/ui/widgets/pimp_left.dart';
import 'login_controller.dart';
class LoginPage extends GetView<LoginController> {
import 'dart:html' as html;
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'dart:math' as math;
// class IframeView extends StatefulWidget {
// final String html;
// const IframeView({
// Key? key,