From 1c9f813f8547d20c7c1544da7252f66a8d37de0a Mon Sep 17 00:00:00 2001 From: Alexandru Mariuti Date: Sun, 16 Jun 2024 11:07:57 +0200 Subject: [PATCH] chore: update dependencies (#78) --- .gitignore | 1 + CHANGELOG.md | 9 +++++++-- lib/src/app.dart | 32 -------------------------------- pubspec.yaml | 6 +++--- 4 files changed, 11 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 011f1e5c..a9246b45 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ lcov.info .firebase +.fvmrc diff --git a/CHANGELOG.md b/CHANGELOG.md index 763b65a4..c8950604 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.5.3 + +- Update dependencies +- Removed deprecated parameters `checkerboard...` from `ShadApp` + ## 0.5.2 - Fix `onTap` not working in `ShadInput` and `ShadInputFormField` @@ -94,7 +99,7 @@ ## 0.2.4 -- Add workaround for google_fonts issue about font weights. see https://github.com/material-foundation/flutter-packages/issues/35 +- Add workaround for google_fonts issue about font weights. see - Make `from` of `ShadTextTheme.fromGoogleFont` unnamed. ## 0.2.3 @@ -130,7 +135,7 @@ - update `showShadDialog` - set toast default animations based on alignment - change toast default offset -- add Material and Cupertino constructors in `ShadApp` +- add Material and Cupertino constructors in `ShadApp` ## 0.0.1-dev1 diff --git a/lib/src/app.dart b/lib/src/app.dart index b31021ee..b1ee9adb 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -41,8 +41,6 @@ class ShadApp extends StatefulWidget { this.localeResolutionCallback, this.supportedLocales = const [Locale('en', 'US')], this.showPerformanceOverlay = false, - this.checkerboardRasterCacheImages = false, - this.checkerboardOffscreenLayers = false, this.showSemanticsDebugger = false, this.debugShowCheckedModeBanner = true, this.shortcuts, @@ -84,8 +82,6 @@ class ShadApp extends StatefulWidget { this.localeResolutionCallback, this.supportedLocales = const [Locale('en', 'US')], this.showPerformanceOverlay = false, - this.checkerboardRasterCacheImages = false, - this.checkerboardOffscreenLayers = false, this.showSemanticsDebugger = false, this.debugShowCheckedModeBanner = true, this.shortcuts, @@ -127,8 +123,6 @@ class ShadApp extends StatefulWidget { this.localeResolutionCallback, this.supportedLocales = const [Locale('en', 'US')], this.showPerformanceOverlay = false, - this.checkerboardRasterCacheImages = false, - this.checkerboardOffscreenLayers = false, this.showSemanticsDebugger = false, this.debugShowCheckedModeBanner = true, this.shortcuts, @@ -170,8 +164,6 @@ class ShadApp extends StatefulWidget { this.localeResolutionCallback, this.supportedLocales = const [Locale('en', 'US')], this.showPerformanceOverlay = false, - this.checkerboardRasterCacheImages = false, - this.checkerboardOffscreenLayers = false, this.showSemanticsDebugger = false, this.debugShowCheckedModeBanner = true, this.shortcuts, @@ -213,8 +205,6 @@ class ShadApp extends StatefulWidget { this.localeResolutionCallback, this.supportedLocales = const [Locale('en', 'US')], this.showPerformanceOverlay = false, - this.checkerboardRasterCacheImages = false, - this.checkerboardOffscreenLayers = false, this.showSemanticsDebugger = false, this.debugShowCheckedModeBanner = true, this.shortcuts, @@ -256,8 +246,6 @@ class ShadApp extends StatefulWidget { this.localeResolutionCallback, this.supportedLocales = const [Locale('en', 'US')], this.showPerformanceOverlay = false, - this.checkerboardRasterCacheImages = false, - this.checkerboardOffscreenLayers = false, this.showSemanticsDebugger = false, this.debugShowCheckedModeBanner = true, this.shortcuts, @@ -444,12 +432,6 @@ class ShadApp extends StatefulWidget { /// * final bool showPerformanceOverlay; - /// Turns on checkerboarding of raster cache images. - final bool checkerboardRasterCacheImages; - - /// Turns on checkerboarding of layers rendered to offscreen bitmaps. - final bool checkerboardOffscreenLayers; - /// Turns on an overlay that shows the accessibility information /// reported by the framework. final bool showSemanticsDebugger; @@ -716,9 +698,6 @@ class _ShadAppState extends State { localeListResolutionCallback: widget.localeListResolutionCallback, supportedLocales: widget.supportedLocales, showPerformanceOverlay: widget.showPerformanceOverlay, - checkerboardRasterCacheImages: - widget.checkerboardRasterCacheImages, - checkerboardOffscreenLayers: widget.checkerboardOffscreenLayers, showSemanticsDebugger: widget.showSemanticsDebugger, debugShowCheckedModeBanner: widget.debugShowCheckedModeBanner, shortcuts: widget.shortcuts, @@ -750,8 +729,6 @@ class _ShadAppState extends State { localeListResolutionCallback: widget.localeListResolutionCallback, supportedLocales: widget.supportedLocales, showPerformanceOverlay: widget.showPerformanceOverlay, - checkerboardRasterCacheImages: widget.checkerboardRasterCacheImages, - checkerboardOffscreenLayers: widget.checkerboardOffscreenLayers, showSemanticsDebugger: widget.showSemanticsDebugger, debugShowCheckedModeBanner: widget.debugShowCheckedModeBanner, shortcuts: widget.shortcuts, @@ -785,8 +762,6 @@ class _ShadAppState extends State { localeListResolutionCallback: widget.localeListResolutionCallback, supportedLocales: widget.supportedLocales, showPerformanceOverlay: widget.showPerformanceOverlay, - checkerboardRasterCacheImages: widget.checkerboardRasterCacheImages, - checkerboardOffscreenLayers: widget.checkerboardOffscreenLayers, showSemanticsDebugger: widget.showSemanticsDebugger, debugShowCheckedModeBanner: widget.debugShowCheckedModeBanner, shortcuts: widget.shortcuts, @@ -814,8 +789,6 @@ class _ShadAppState extends State { localeListResolutionCallback: widget.localeListResolutionCallback, supportedLocales: widget.supportedLocales, showPerformanceOverlay: widget.showPerformanceOverlay, - checkerboardRasterCacheImages: widget.checkerboardRasterCacheImages, - checkerboardOffscreenLayers: widget.checkerboardOffscreenLayers, showSemanticsDebugger: widget.showSemanticsDebugger, debugShowCheckedModeBanner: widget.debugShowCheckedModeBanner, shortcuts: widget.shortcuts, @@ -844,9 +817,6 @@ class _ShadAppState extends State { localeListResolutionCallback: widget.localeListResolutionCallback, supportedLocales: widget.supportedLocales, showPerformanceOverlay: widget.showPerformanceOverlay, - checkerboardRasterCacheImages: - widget.checkerboardRasterCacheImages, - checkerboardOffscreenLayers: widget.checkerboardOffscreenLayers, showSemanticsDebugger: widget.showSemanticsDebugger, debugShowCheckedModeBanner: widget.debugShowCheckedModeBanner, shortcuts: widget.shortcuts, @@ -877,8 +847,6 @@ class _ShadAppState extends State { localeListResolutionCallback: widget.localeListResolutionCallback, supportedLocales: widget.supportedLocales, showPerformanceOverlay: widget.showPerformanceOverlay, - checkerboardRasterCacheImages: widget.checkerboardRasterCacheImages, - checkerboardOffscreenLayers: widget.checkerboardOffscreenLayers, showSemanticsDebugger: widget.showSemanticsDebugger, debugShowCheckedModeBanner: widget.debugShowCheckedModeBanner, shortcuts: widget.shortcuts, diff --git a/pubspec.yaml b/pubspec.yaml index 3f531599..1014b320 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: shadcn_ui description: shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable. -version: 0.5.2 +version: 0.5.3 homepage: https://mariuti.com/shadcn-ui repository: https://github.com/nank1ro/flutter-shadcn-ui documentation: https://mariuti.com/shadcn-ui @@ -18,9 +18,9 @@ dependencies: flutter_localizations: sdk: flutter flutter_svg: ^2.0.10+1 - lucide_icons_flutter: ^1.0.9 + lucide_icons_flutter: ^1.1.0 # used by Table - two_dimensional_scrollables: ^0.2.1 + two_dimensional_scrollables: ^0.3.1 vector_graphics: ^1.1.11+1 dev_dependencies: