Skip to content

Instantly share code, notes, and snippets.

View feljohn07's full-sized avatar

Fel John feljohn07

View GitHub Profile
@callmephil
callmephil / velocity_rendering.dart
Created May 12, 2025 17:49
velocity rendering sliver flutter
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'dart:async';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@xSaCh
xSaCh / expandable_widget.dart
Created February 27, 2025 17:43
Flutter Widget allow child to grow / shrink based on userdrag. DragWidget's gesture will be prioritize that it's parents even if parent is scrollable like SingleChildScrollView.
import 'package:flutter/material.dart';
class ExpandableWidget extends StatefulWidget {
const ExpandableWidget({
super.key,
required this.child,
required this.dragWidget,
this.initHeight,
this.maxHeight,
this.minHeight,
@ppoffice
ppoffice / README.md
Last active June 7, 2025 12:10
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y