GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codegod100/flutterkit

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cloudflare/gitlab-proxy
cloudflare/gitlab-proxy
 
 
fonts
fonts
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
pixi.toml
pixi.toml
 
 
pubspec.yaml
pubspec.yaml
 
 
recipe.yaml
recipe.yaml
 
 

Repository files navigation

flatkit

Flat Flutter widgets with instant feedback: no ink ripples, no hover or press highlights that fade, and menus, dialogs and tooltips that appear and close in a single frame.

  • KitButton (primary, secondary, ghost, danger) and KitIconButton (.compact for 24px in-row actions)
  • KitSegmented toggle tabs
  • KitTextField, with an optional focus node, text style and trailing widget, and obscureText for passwords
  • KitMenu popup menus and KitSelect, with arrow keys, Enter and Escape
  • showKitDialog and KitDialog
  • KitTabs underlined tab strip
  • KitListRow and KitSelectionList, keyboard-driven lists whose selection jumps into view
  • KitCheckbox
  • showKitToast, a notice at the bottom of the window
  • KitTooltip, KitPanel, KitDivider, KitVerticalDivider, KitProgressBar, KitSpinner
  • Pressable, the hover/press/focus primitive the rest are built on

Colours come from KitTheme (KitColors.light and KitColors.dark). KitTheme.material(colors) gives a ThemeData with splashes, highlights and page transitions turned off for anything Material left in your app. It also sets the text font to Inter, which ships with the kit: it stays sharp at small sizes where the platform fallback font can look soft. Use kitTextStyle for the same style outside a Material theme.

MaterialApp(
  theme: KitTheme.material(KitColors.light),
  builder: (context, child) => KitTheme(
    colors: KitColors.light,
    child: Material(color: KitColors.light.background, child: child),
  ),
  home: ...,
);

Following the desktop theme

KitSystemTheme picks the colours for you: on KDE Plasma it reads the colour scheme and accent colour from kdeglobals and updates live when you change them in System Settings; elsewhere it switches between KitColors.light and KitColors.dark with the desktop's dark mode.

KitSystemTheme(
  builder: (context, colors) => MaterialApp(
    theme: KitTheme.material(colors),
    builder: (context, child) =>
        Material(color: colors.background, child: child),
    home: ...,
  ),
);

KdeColors.read() gives the Plasma colours directly (null off Plasma). Neither touches dart:io on the web, so apps using them still build with flutter build web (they just get the light/dark switch there).

Matching window decorations

Flatkit Aurorae themes give KWin title bars in the same style, light and dark, so windows around a flatkit app look like part of it. They now live in codegod100/kde.

Muse Code

Muse Code, a GUI for Meta's Muse Code built with the kit (projects with an orchestrator thread whose Muse subagents show up as worker threads), now lives in its own repository: nandi-conda/muse-code.

Plasma menu

Flatkit Menu, a Plasma 6 application menu in the kit's style that replaces Kickoff and opens with the Meta key, now lives in its own repository: https://gitlab.latha.org/nandi/flatkit-menu

Using it with pixi

flatkit builds as a conda package with pixi. Installing it puts the Dart package at $CONDA_PREFIX/share/flatkit. In your app's pixi.toml:

[workspace]
channels = ["conda-forge"]
platforms = ["linux-64"]
preview = ["pixi-build"]

[dependencies]
flatkit = { git = "https://github.com/codegod100/flutterkit", branch = "main" }

and in pubspec.yaml:

dependencies:
  flatkit:
    path: .pixi/envs/default/share/flatkit

Run pixi install before flutter pub get; pixi update flatkit picks up new commits.

Developing

flutter test
pixi build   # builds the conda package

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.