Skip to content

Instantly share code, notes, and snippets.

View Adophilus's full-sized avatar
💭
Learning 🤓

Uchenna Ofoma Adophilus

💭
Learning 🤓
View GitHub Profile
@Adophilus
Adophilus / UseHandler.js
Created January 28, 2024 17:06 — forked from bogordesaincom/UseHandler.js
Hono Sample Upload using Middleware
import upload from "../lib/upload";
// const UPLOADS_DIR = "./public";
// const indexUser = async (c) => {
// return c.json({ message: "User Index" });
// };
const storeUser = async (c) => {
const body = await c.req.parseBody();
@Adophilus
Adophilus / flutter.md
Created August 23, 2023 14:41 — forked from jb0gie/flutter.md
Flutter Cheatsheet

Flutter

A quick cheatsheet of useful snippet for Flutter

Widget

A widget is the basic type of controller in Flutter Material. There are two type of basic Widget we can extend our classes: StatefulWidget or StatelessWidget.

Stateful

StatefulWidget are all the widget that interally have a dynamic value that can change during usage. It can receive an input value in the constructor or reference to functions. You need to create two classes like: