diff --git a/.claude/plugin.json b/.claude/plugin.json index d5b184e..7139e41 100644 --- a/.claude/plugin.json +++ b/.claude/plugin.json @@ -1,7 +1,7 @@ { "name": "layrz-theme", "description": "Claude Code skills for layrz-theme Flutter widget library", - "version": "7.5.28", + "version": "7.5.30", "author": { "name": "Golden M, Inc.", "url": "https://github.com/goldenm-software" diff --git a/CHANGELOG.md b/CHANGELOG.md index ba5b28f..99cf80d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 7.5.30 + +- Fixed incorrect deprecation of `ThemedTableAvatar`: the class is used by `ThemedScaffoldView.avatarBuilder` in the scaffolds module and is not exclusive to `ThemedTable`. Consumers using `ThemedScaffoldView` were receiving a false `deprecated_member_use` warning. +- Fixed incorrect deprecation of `CellTap`: the typedef is used by `ThemedColumn2.onTap` in `ThemedTable2` and must remain public and non-deprecated while `ThemedTable2` depends on it. + ## 7.5.29 - Added `onFilteredCountChanged: void Function(int count)?` to `ThemedTable2`. The callback fires after every filter-and-sort cycle (initial load, search, sort, `items` update) with the count of currently visible rows. Optional and `null` by default — fully backward-compatible. diff --git a/lib/src/scaffolds/src/sidebar.dart b/lib/src/scaffolds/src/sidebar.dart index 7d57bd6..d53fac5 100644 --- a/lib/src/scaffolds/src/sidebar.dart +++ b/lib/src/scaffolds/src/sidebar.dart @@ -1,4 +1,3 @@ -// ignore_for_file: deprecated_member_use_from_same_package part of '../scaffolds.dart'; class ThemedScaffoldView extends StatefulWidget { diff --git a/lib/src/table/src/avatar.dart b/lib/src/table/src/avatar.dart index 2724f31..02c9b65 100644 --- a/lib/src/table/src/avatar.dart +++ b/lib/src/table/src/avatar.dart @@ -1,6 +1,5 @@ part of '../table.dart'; -@Deprecated('Use ThemedTable2 instead. ThemedTable will be removed in version 8.0.0.') class ThemedTableAvatar { /// Represents the name, label or identifier of the avatar. final String? label; diff --git a/lib/src/table/src/column.dart b/lib/src/table/src/column.dart index f89a378..578a9b8 100644 --- a/lib/src/table/src/column.dart +++ b/lib/src/table/src/column.dart @@ -9,7 +9,6 @@ typedef ValueBuilder = String Function(BuildContext context, T item); typedef WidgetBuilder = Widget Function(BuildContext context, T item); /// [CellTap] defines the action when the cell is tapped. -@Deprecated('Use ThemedTable2 instead. ThemedTable will be removed in version 8.0.0.') typedef CellTap = void Function(T item); /// [CellColor] defines the color of the cell. diff --git a/pubspec.yaml b/pubspec.yaml index 366144d..09eb3f8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: layrz_theme description: Layrz standard styling library for Flutter. Widget library following the Material Design 3 guidelines, with a focus on reliavility and functionality. -version: "7.5.29" +version: "7.5.30" homepage: https://theme.layrz.com repository: https://github.com/goldenm-software/layrz_theme