Skip to content

Instantly share code, notes, and snippets.

View CharlVS's full-sized avatar
🐆

Charl (Nitride) CharlVS

🐆
View GitHub Profile
@CharlVS
CharlVS / AGENTS.md
Last active June 27, 2025 15:57
Codex Flutter Environment Script - KW & KDF SDK [v1.3.1]

Repository Guidelines for Agents

This repository is a Flutter project. The environment has all Dart and Flutter dependencies pre-fetched during setup, but network access is disabled afterwards. Use the commands below to work with the project.

Setup

flutter pub get --enforce-lockfile
@CharlVS
CharlVS / kw_flutter.sh
Created May 18, 2025 16:47
Flutter GUI Codex Environment Setup Script - 18/05
#!/bin/bash
set -e
# Environment variables
FLUTTER_VERSION="3.29.2"
# Detect shell profile
SHELL_PROFILE=""
if [[ "$SHELL" == */zsh ]]; then
SHELL_PROFILE="$HOME/.zshrc"
@CharlVS
CharlVS / main.dart
Last active August 21, 2024 08:27
Nested scrollable Flutter example
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: SliverDemo(),
);
@CharlVS
CharlVS / main.dart
Created May 26, 2024 09:51
Custom Dart Charts
import 'package:flutter/material.dart';
import 'dart:math';
import 'dart:async';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});