Closed eb-so closed 3 months ago
Everything on this library is exported in the shadcn_ui
barrel file.
You just need to import it:
import 'package:shadcn_ui/shadcn_ui.dart';
I searched in your repo for ShadcnTheme
but didn't find anything, and the import above didn't help 😞
BTW This is how I'm using the package
shadcn_ui:
git:
url: https://github.com/nank1ro/flutter-shadcn-ui.git
ref: main
Can you share your code? Are your working on a fork of the library or importing it in a project?
@nank1ro Oh found the issue
it's ShadTheme
not ShadcnTheme
BTW This is how I'm using the package
shadcn_ui: git: url: https://github.com/nank1ro/flutter-shadcn-ui.git ref: main
Strange.. can you try this one instead?
shadcn_ui:
git:
url: git@github.com:nank1ro/flutter-shadcn-ui.git
ref: main
You just need to update the documentation
@nank1ro Oh found the issue
it's
ShadTheme
notShadcnTheme
lol would fix tomorrow the docs, didn't noticed the typo 😅
No worries, thanks for the help 🙏
How to import
ShadcnTheme