Theming question
Closed this issue ยท 9 comments
eb-so commented
nank1ro commented
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';
eb-so commented
I searched in your repo for ShadcnTheme
but didn't find anything, and the import above didn't help ๐
eb-so commented
BTW This is how I'm using the package
shadcn_ui:
git:
url: https://github.com/nank1ro/flutter-shadcn-ui.git
ref: main
nank1ro commented
Can you share your code?
Are your working on a fork of the library or importing it in a project?
nank1ro commented
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
eb-so commented
You just need to update the documentation
nank1ro commented
@nank1ro Oh found the issue
it's
ShadTheme
notShadcnTheme
lol would fix tomorrow the docs, didn't noticed the typo ๐
eb-so commented
No worries, thanks for the help ๐