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) andKitIconButton(.compactfor 24px in-row actions)KitSegmentedtoggle tabsKitTextField, with an optional focus node, text style and trailing widget, andobscureTextfor passwordsKitMenupopup menus andKitSelect, with arrow keys, Enter and EscapeshowKitDialogandKitDialogKitTabsunderlined tab stripKitListRowandKitSelectionList, keyboard-driven lists whose selection jumps into viewKitCheckboxshowKitToast, a notice at the bottom of the windowKitTooltip,KitPanel,KitDivider,KitVerticalDivider,KitProgressBar,KitSpinnerPressable, 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: ...,
);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).
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, 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.
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
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/flatkitRun pixi install before flutter pub get; pixi update flatkit picks up
new commits.
flutter test
pixi build # builds the conda package