Skip to content

Instantly share code, notes, and snippets.

View yeasin50's full-sized avatar
☺️
Smile...It's Sunnah

Md. Yeasin Sheikh yeasin50

☺️
Smile...It's Sunnah
View GitHub Profile
@yeasin50
yeasin50 / main.dart
Created December 4, 2024 19:48 — forked from slightfoot/humpday_2024-12-04_2.dart
Meetups Database Part 1 - by Simon Lightfoot :: #HumpdayQandA on 4th December 2024 :: https://www.youtube.com/watch?v=l2bnKvuhHe0
// MIT License
//
// Copyright (c) 2024 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:
@yeasin50
yeasin50 / main.dart
Last active November 28, 2024 03:01
animate 3Sections [upwork]
import 'package:flutter/material.dart';
void main() {
runApp(
const MaterialApp(
home: HomePage(),
),
);
}
@yeasin50
yeasin50 / main.dart
Last active November 2, 2024 14:57
Custom ScrollBar position in Flutter
import 'dart:ui';
import 'package:flutter/material.dart';
void main() {
runApp(
const MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: MyListView(),
@yeasin50
yeasin50 / main.dart
Created October 20, 2024 16:10
3D listTIle
/// 3D tile wip
/// Fixme: proper tap/hover area
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(
const MaterialApp(
@yeasin50
yeasin50 / main.dart
Created September 24, 2024 22:10
Playing with canvas to render NxN grid [1000^2]
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(home: Scaffold(body: Foo())));
class Foo extends StatefulWidget {
@override
State<Foo> createState() => _FooState();
}
@yeasin50
yeasin50 / main.dart
Last active September 9, 2024 16:25
pointyToolTip shapeBox: shapeBorder
import 'package:flutter/material.dart';
///! Question >> https://stackoverflow.com/q/78861360/10157127
/// Create a pointy shape like toolTip
///
/// ```dart
/// Container(
/// decoration: ShapeDecoration(
/// shape: PointyShape(
/// padding: const EdgeInsets.all(12),
@yeasin50
yeasin50 / scroll_parent_on_overflow.dart
Created March 20, 2024 19:00 — forked from slightfoot/scroll_parent_on_overflow.dart
Scroll Parent On Overflow - by Simon lightfoot - Humpday Q&A :: 20th March 2024 #Flutter #Dart - https://www.youtube.com/watch?v=qByAoUXOb2M
// MIT License
//
// Copyright (c) 2024 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:
import 'dart:math';
import 'dart:ui';
import 'package:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
/// A combination of [Flow] and [CustomPaint] widgets.
/// Both custom painting and children positioning is done in [FlowPainterDelegate].
///
import 'dart:math';
import 'dart:ui' show lerpDouble;
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/physics.dart';
import 'package:flutter/scheduler.dart';
@yeasin50
yeasin50 / profile_avatar.dart
Created January 18, 2023 20:53 — forked from slightfoot/profile_avatar.dart
Resizey Profile Avatar Thing for #HumpDayQandA - 18/01/2023 - by Simon Lightfoot
// MIT License
//
// Copyright (c) 2023 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: