Skip to content

Pack · 7 assets

Java, Swift and Flutter starter

Snippets for Java, Swift and Dart with Flutter, a Flutter sign-in screen, the /explain-code and /gitignore prompts and the high-contrast Chalkboard theme. All of it is free. Installing the pack switches the editor to Chalkboard.

Marketplace assets picked to work together. Open the pack in PocketCode to install them all at once.

If PocketCode is installed on your Android device, this opens the page in the app.

In this pack

Java snippetsFreeSnippets20 Java snippets: records with validation, switch expressions and pattern matching, streams and Collectors, Optional, try-with-resources, virtual threads, java.net.http and JUnit 5 tests. Some need Java 17 or 21.Swift snippetsFreeSnippets20 Swift snippets: optionals, enums and Result, protocols with extensions, async/await and URLSession, Codable, SwiftUI views and state, an @Observable model and XCTest. Some need Swift 5.9 or iOS 17.Dart and Flutter snippetsFreeSnippets20 Dart and Flutter snippets: initState and dispose, Scaffold, FutureBuilder and StreamBuilder, ListView.builder, navigation, dialogs and SnackBars, a JSON model with copyWith, and unit and widget tests.Sign-in screen (Flutter)FreePageA Material 3 sign-in screen for Flutter. It checks the email and password, can show or hide the password, supports autofill and shows a spinner while it signs in. Colours come from your app's theme, and it needs only the Flutter SDK.Explain code promptFreePromptPaste code after /explain-code for a step-by-step walkthrough: what it's for, what goes in and out, language features a beginner might not know, and anything that looks like a bug.Gitignore promptFreePromptAfter /gitignore, list your languages and tools or paste your file list. You get a .gitignore to copy, with a section per tool. Lock files and .env.example stay in Git, and it says how to untrack files you already committed.ChalkboardFreeThemeHigh-contrast dark theme with chalk colours on green-black: yellow keywords, green strings, blue functions and pink types. Text and every syntax colour reach at least 7:1 contrast. It also adds a matching terminal theme (Settings > Terminal).