Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add version to example app #23

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Make sure your app meets the following requirements before using ZDS Flutter

Add the following as a dependency in your pubspec.yaml file.

<!--x-release-please-start-version-->
<!-- x-release-please-start-version -->

```yaml
zds-flutter: ^1.2.4
Expand Down
4 changes: 3 additions & 1 deletion example/lib/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class _HomePageState extends State<HomePage> {
appBar: AppBar(
leadingWidth: 20,
leading: SizedBox(width: 20),
title: const Text('ZDS Demo'),
// x-release-please-start-version
title: const Text('zds_flutter v1.2.4'),
// x-release-please-end
centerTitle: false,
actions: [
ZetaThemeModeSwitch(),
Expand Down
3 changes: 2 additions & 1 deletion example/lib/pages/utils/theme_color_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class ZetaThemeColorSwitch extends StatelessWidget {
elevation: 0,
isDense: true,
alignment: Alignment.center,
icon: SizedBox(width: 8),
icon: SizedBox(width: 0),
padding: EdgeInsets.all(ZetaSpacing.xs),
dropdownColor: zeta.colors.borderDisabled,
items: _themes.entries.map((e) {
var zetaColors = primary(_themes[e.key]!).apply(contrast: zeta.contrast);
Expand Down
3 changes: 2 additions & 1 deletion example/lib/pages/utils/theme_constrast_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class ZetaThemeContrastSwitch extends StatelessWidget {
elevation: 0,
isDense: true,
alignment: Alignment.center,
icon: SizedBox(width: 8),
icon: SizedBox(width: 0),
padding: EdgeInsets.all(ZetaSpacing.xs),
dropdownColor: zeta.colors.borderDisabled,
items: _themes.map((e) {
final colors = zetaColors(e);
Expand Down
3 changes: 2 additions & 1 deletion example/lib/pages/utils/theme_mode_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ class ZetaThemeModeSwitch extends StatelessWidget {
elevation: 0,
isDense: true,
alignment: Alignment.center,
icon: SizedBox(width: 8),
icon: SizedBox(width: 0),
dropdownColor: zeta.colors.borderDisabled,
padding: EdgeInsets.all(ZetaSpacing.xs),
items: _themes.map((e) {
final colors = zetaColors(e).apply(contrast: zeta.contrast);
return DropdownMenuItem<ThemeMode>(
Expand Down
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
},
"include-component-in-tag": false,
"extra-files": [
"/README.md"
"/README.md",
"example/lib/home.dart"
],
"changelog-sections": [
{
Expand Down
Loading