lampung_design_system 0.2.0
lampung_design_system: ^0.2.0 copied to clipboard
Lampung Design System (unofficial) for Flutter: tokens, a Material 3 theme, bundled fonts, Solar icon fonts and widgets for public service apps.
Changelog #
0.2.0 #
- Breaking: builds on
material_uiandcupertino_uiinstead of the deprecatedpackage:flutter/material.dartandpackage:flutter/cupertino.dart. Requires Flutter 3.47 or later. Addmaterial_uito your app and importpackage:material_ui/material_ui.dart, becauseLdsThemereturnsmaterial_ui'sThemeData. - Example app runs on
material_ui.
0.1.2 #
- Vertical
LdsStepslays out inside scrolling lists instead of throwing. LdsTabsandLdsSlidingIndicatorsize to their content in a vertical list.LdsPagination,LdsKbdandLdsCitation.spanhug their content.LdsHoldToConfirmcenters its label.LdsPapersizes its number columns to their content.LdsEventCalendarfits 375 pt screens.- Example app: a Komponen tab with a searchable gallery of every widget.
0.1.1 #
LdsSwipeActionscollapses its row withAligninstead of the deprecatedSizeTransition.axisAlignment(deprecated after Flutter 3.41).- Development: flutter_lints 6.
0.1.0 #
First release of the Flutter package of Lampung Design System (unofficial).
- Tokens generated from
tokens/tokens.json:LdsColors(light and dark, aThemeExtension),LdsShadows,LdsType,LdsSpace,LdsRadius,LdsSizeandLdsMotion(durations, curves and springs). LdsTheme.light()andLdsTheme.dark(): Material 3ThemeDatawith the LDS color scheme, type scale and component themes for buttons, inputs, cards, chips, switches, navigation bar, dialogs, bottom sheets and snack bars.context.ldsandcontext.ldsShadowsto read the current appearance.- Widgets:
LdsButton,LdsIconButton,LdsTextField,LdsCard,LdsBadge,LdsAlert,LdsListandLdsListRow,LdsSegmented,LdsIcon,LdsEmptyState,LdsSkeleton,LdsMasthead,LdsAksara,LdsAksaraBandand theLdsPressablebase. - Widget groups ported from every web component, 161 widgets in all: forms (checkbox, radio, switch, select, combobox, OTP, date and range pickers, sliders, file and tag input...), overlays (dialog, sheet, drawer, popover, toast, menus, command palette, swipe and slide to confirm...), navigation (tabs, steps, sidebar, app shell, accordion, tree, carousel...), data display (avatar, table, data table, timeline, kanban, event calendar, progress...), charts (bar, line, area, donut, gauge, heatmap, map, KPI cards...) and chat, motion and marketing blocks.
- Icon fonts now carry real side bearings, so icons sit centered on iOS.
- Motion helpers:
LdsSpringCurveandcontext.ldsReduceMotion, which every widget honors. - Bundled fonts: Geist, Geist Mono and the two LDS icon fonts (Solar, line and fill) as TrueType.
- Example app "Sakai" with a home screen, a report form and a light/dark toggle.