Closed
Description
Part of #1465 (step 6, the last).
Problem
After #1729–#1735 nothing in lib/ needs shadcn, but about 500 files still get Flutter itself (Text, Widget, setState, Row, BuildContext...) through export 'package:shadcn_flutter/shadcn_flutter.dart' in lib/shared/widgets/widgets.dart, and 59 files import the package directly. A probe on dev (2026-10-18) that removed the import from all of them left 174 files needing only a Flutter import.
Change
- Add
import 'package:flutter/widgets.dart';(ormaterial.dart) where a file used the barrel for Flutter types. - Remove the shadcn re-export from the barrel and every
package:shadcn_flutterimport. - Drop
third_party/shadcn_flutterand itsdependency_overrides/dependenciesentries;flutter pub get. - Guard test: no
package:shadcn_flutteranywhere inlib/(extendsshared_does_not_import_shadcn_test.dart).
Acceptance
-
grep -r "package:shadcn_flutter" libis empty; the package is gone frompubspec.yamlandthird_party/. - All tests and goldens pass; release builds for Linux, Windows and macOS build.
Activity
test: drop unused imports left by the shadcn removal (#1736)
ui: shadcn_flutter removed; GeistSans ships with the app (#1736) (#1751)
ZhuchkaTriplesix commentedon Oct 25, 2026
Fixed on dev in #1751 (merged). Closing by hand: the PRs target dev, so GitHub would only close this when dev is merged into main.