# Sky24n/flustars

🔥🔥🔥  Flutter common utils library. SpUtil, ScreenUtil,WidgetUtil.  也许是目前最好用的SharedPreferences工具类。WidgetUtil 获取图片尺寸宽高, View尺寸&在屏幕上的坐标。

Repository: https://github.com/Sky24n/flustars
Canonical: https://ross.abutalabs.com/products/flustars
Language: Dart
License: BSD-2-Clause
License Family: permissive
Topics: sputil, screenutil, dioutil, dateutil, directoryutil, widgetutil, regexutil, timerutil, timelineutil, logutil, moneyutil, numutil, objectutil, endecodeutil, textutil
Last push: 2022-06-01T01:42:00+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2897, "days_push": 1555, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1917, forks 237 (observed 2026-08-28T04:05:53.938835+00:00)

## What it is
A Flutter common utility library providing helper classes like SpUtil (SharedPreferences wrapper), ScreenUtil (screen adaptation), WidgetUtil, and various Dart utilities for dates, numbers, regex validation, and JSON. It aims to simplify everyday Flutter development tasks with easy-to-use tool classes.

## Use cases
- store objects in shared preferences in flutter
- adapt ui to different screen sizes in flutter
- format and convert dates in dart
- validate phone numbers and emails with regex in flutter
- precise money conversion between yuan and fen
- get widget size and position on screen
- get image dimensions from network or local files

## When to choose
- you need a convenient SharedPreferences wrapper supporting object storage in Flutter
- you want a bundle of common utility classes (dates, numbers, regex, ) for a Flutter app
- you need screen metrics and widget measurement helpers

## When to avoid
- you need actively maintained dependencies for the latest Flutter versions
- you prefer small focused packages over an all-in-one utility library
- your project is not Flutter/Dart based

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, serialization, logging, date-time, math, security
- domain: developer-tools, mobile-development, cross-platform
- platform: cross-platform
- tags: flutter, shared-preferences, screen-adaptation, utility-classes, widget-utils, regex-validation, null-safety, automation, mobile, android, ios

## Member repositories
- Sky24n/flustars (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.938835+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:10:08.066755+00:00, confidence not recorded.
  - readme: https://github.com/Sky24n/flustars (fetched 2026-08-28T04:05:53.938835+00:00, sha 2da5b1af2536)
- Data as of 2026-08-30T08:39:29.467469+00:00.
