Skip to content

Commit

Permalink
0.2.8
Browse files Browse the repository at this point in the history
- [Example] Update Widgets page
- [Example] Update Settings page
- Refactor ArnaList
- Refactor ArnaExpansionPanel
- Refactor ArnaSlider
- Fix ArnaCheckBox
- Fix ArnaRadio
- Fix ArnaSwitch
- Fix ArnaBottomBarItem
- [BREAKING] Refactor ArnaBanner
- Add ArnaColumn
- Add ArnaRow
- Add ArnaGroupedView
- Add bounce animation to ArnaBaseButton
- Add animation to ArnaSideScaffold
- Add animation to ArnaMasterDetailScaffold
- Add ArnaPageRoute
- Update ArnaListTile
- Update ArnaTooltip
- Update ArnaColors
- Update ArnaTextTheme
- Update ArnaTheme
- Cleanup Styles
  • Loading branch information
MahanRahmati committed Mar 3, 2022
1 parent 424e3b5 commit c10db45
Show file tree
Hide file tree
Showing 32 changed files with 1,321 additions and 438 deletions.
1 change: 1 addition & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example/lib/screens/indicators.dart
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## 0.2.8

- [Example] Update Widgets page
- [Example] Update Settings page
- Refactor ArnaList
- Refactor ArnaExpansionPanel
- Refactor ArnaSlider
- Fix ArnaCheckBox
- Fix ArnaRadio
- Fix ArnaSwitch
- Fix ArnaBottomBarItem
- [BREAKING] Refactor ArnaBanner
- Add ArnaColumn
- Add ArnaRow
- Add ArnaGroupedView
- Add bounce animation to ArnaBaseButton
- Add animation to ArnaSideScaffold
- Add animation to ArnaMasterDetailScaffold
- Add ArnaPageRoute
- Update ArnaListTile
- Update ArnaTooltip
- Update ArnaColors
- Update ArnaTextTheme
- Update ArnaTheme
- Cleanup Styles

## 0.2.7

- Update ArnaBaseButton
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ This Framework is in active development. Any contribution, idea, criticism or fe
<img src="https://img.shields.io/github/license/MahanRahmati/arna">
</p>

<img alt="Light" src="https://user-images.githubusercontent.com/16052180/156184852-66b51dbf-13df-42eb-8bbc-687c2b9ed2c7.png">
<img alt="Dark" src="https://user-images.githubusercontent.com/16052180/156184833-3ea850b2-7317-45d8-a83b-0c019a5fa28a.png">
<img alt="Light" src="https://user-images.githubusercontent.com/16052180/156654600-b8be06db-1cb1-411b-adf9-0bba86dd9704.png">
<img alt="Dark" src="https://user-images.githubusercontent.com/16052180/156654550-cef8b2c8-b95a-41de-9d4e-903c6968637b.png">

## Content

Expand Down Expand Up @@ -61,7 +61,7 @@ Add Arna as a dependency in your pubspec.yaml

```yaml
dependencies:
arna: ^0.2.7
arna: ^0.2.8
```
And import it
Expand Down Expand Up @@ -475,7 +475,7 @@ showArnaSnackbar(
```dart
ArnaBanner(
showBanner: showBanner,
message: "This is a message!",
title: "This is an information banner!",
trailing: ArnaIconButton(
icon: Icons.close_outlined,
onPressed: () => setState(() => showBanner = false),
Expand All @@ -500,3 +500,4 @@ ArnaBanner(
- [tvolkert](https://github.com/tvolkert) for [chicago](https://github.com/tvolkert/chicago).
- [rsms](https://github.com/rsms) for [inter](https://github.com/rsms/inter).
- [WangYng](https://github.com/WangYng) for [better_cupertino_slider](https://github.com/WangYng/better_cupertino_slider).
- [MingSern](https://github.com/MingSern) for [flutter_bounceable](https://github.com/MingSern/flutter_bounceable).
13 changes: 3 additions & 10 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:url_launcher/url_launcher.dart';

import '/screens/hello.dart';
import '/screens/indicators.dart';
import '/screens/settings.dart';
import '/screens/typography.dart';
import '/screens/widgets.dart';
Expand Down Expand Up @@ -79,7 +78,8 @@ class _HomeState extends ConsumerState<Home> {
),
banner: ArnaBanner(
showBanner: showBanner,
message: "Hello There!",
title: "This is an information banner!",
subtitle: "Hello There!",
trailing: ArnaIconButton(
icon: Icons.close_outlined,
onPressed: () => setState(() => showBanner = false),
Expand All @@ -94,12 +94,6 @@ class _HomeState extends ConsumerState<Home> {
builder: (_) => const Typography(),
);

NavigationItem indicators = NavigationItem(
title: "Indicators",
icon: Icons.refresh_outlined,
builder: (_) => const Indicators(),
);

return showMaster
? ArnaMasterDetailScaffold(
items: [
Expand All @@ -124,7 +118,7 @@ class _HomeState extends ConsumerState<Home> {
dialog: ArnaAlertDialog(
title: "Arna Framework",
message:
"A unique set of widgets for building applications with Flutter",
"A unique set of widgets for building applications with Flutter.",
primary: ArnaTextButton(
label: "Source code",
onPressed: () async => await launch(url),
Expand Down Expand Up @@ -152,7 +146,6 @@ class _HomeState extends ConsumerState<Home> {
hello,
widgets,
typography,
indicators,
],
);
}
Expand Down
23 changes: 0 additions & 23 deletions example/lib/screens/indicators.dart

This file was deleted.

4 changes: 2 additions & 2 deletions example/lib/screens/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class Settings extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
Theme? themeMode = ref.watch(changeTheme).theme;
return ArnaList(
return ArnaGroupedView(
title: "Theme mode",
items: [
children: [
ArnaRadioListTile(
value: Theme.system,
groupValue: themeMode,
Expand Down
Loading

0 comments on commit c10db45

Please sign in to comment.