Skip to content

Commit

Permalink
syncfusion-animates
Browse files Browse the repository at this point in the history
  • Loading branch information
ARYPROGRAMMER committed Oct 4, 2024
1 parent 129143e commit 9a3aee1
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 20 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*"
tag: v2.0.4.1
tag: v2.0.4
token: ${{ secrets.TOKEN }}
release_name: "stable-build-v2.0.4"
release_name: "stable-v2.0.4"
body: |
## What's New in v2.0.4
- **Bug Fixes**: Resolved minors bugs pertaining to response times, getting ready for syncfusion.
- **Performance Improvements**: Optimized API response times.
- **UI Enhancements**: Updated the home UI and added animations.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
**APP STATUS** : ALL CORE FUNCTIONALITIES WORKING (Deployed NodeJs & Postgresql on Render)

**NEW**

## What's New in v2.0.4
- **Bug Fixes**: Resolved minors bugs pertaining to response times, getting ready for syncfusion.
- **Performance Improvements**: Optimized API response times.
Expand Down
Binary file removed assets/calm.png
Binary file not shown.
Binary file removed assets/focus.png
Binary file not shown.
Binary file removed assets/happy.png
Binary file not shown.
Binary file removed assets/relax.png
Binary file not shown.
2 changes: 2 additions & 0 deletions lib/features/auth/presentation/auth/pages/signin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ class SignIn extends StatelessWidget {
Widget _password(BuildContext context) {
return TextField(
controller: _passworde,
obscureText: true,
obscuringCharacter: "*",
decoration: const InputDecoration(
hintText: "Password",
),
Expand Down
2 changes: 2 additions & 0 deletions lib/features/auth/presentation/auth/pages/signup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ class Signup extends StatelessWidget {
Widget _password(BuildContext context) {
return TextField(
controller: _passworde,
obscureText: true,
obscuringCharacter: "*",
decoration: const InputDecoration(
hintText: "Password",
),
Expand Down
36 changes: 27 additions & 9 deletions lib/features/meditation/presentation/pages/meditation_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,35 +100,53 @@ class MeditationPage extends StatelessWidget {
children: [
MoodButton(
label: "Happy",
image: 'assets/happy.png',
color: DefaultColors.pink,
path:
'https://lottie.host/b4a596fb-3b74-403a-ba62-94e56dd1662c/n0wCMuhZKw.json',
onTap: () {
context
.read<MoodMessageBloc>()
.add(FetchMoodMessage('happy'));
}),
MoodButton(
label: "neutral",
path:
'https://lottie.host/40e7eb6f-1461-4074-b9e6-836c2f59bab3/PB53CLQJwY.json',
onTap: () {
context
.read<MoodMessageBloc>()
.add(FetchMoodMessage('neutral'));
}),
MoodButton(
label: "sad",
path:
'https://lottie.host/3462abf3-a8a4-4deb-bda8-9457dbba7856/mpGSZCUNdL.json',
onTap: () {
context
.read<MoodMessageBloc>()
.add(FetchMoodMessage('sad'));
}),
MoodButton(
label: "Calm",
image: 'assets/calm.png',
color: DefaultColors.purple,
path:
'https://lottie.host/eb85b992-d67e-4308-b566-56b70863528e/pvJy8nX9UM.json',
onTap: () {
context
.read<MoodMessageBloc>()
.add(FetchMoodMessage('calm'));
}),
MoodButton(
label: "Relax",
image: 'assets/relax.png',
color: DefaultColors.orange,
path:
'https://lottie.host/5d81afcc-21d6-4395-82f9-b3245bfbdfcd/Tx797g2kdJ.json',
onTap: () {
context
.read<MoodMessageBloc>()
.add(FetchMoodMessage('relax'));
}),
MoodButton(
label: "Focus",
image: 'assets/focus.png',
color: DefaultColors.lightteal,
path:
'https://lottie.host/ec761808-ad04-4b8e-910e-f97234c4d6c6/k1f6uaivUR.json',
onTap: () {
context
.read<MoodMessageBloc>()
Expand All @@ -137,7 +155,7 @@ class MeditationPage extends StatelessWidget {
],
),
const SizedBox(
height: 20,
height: 25,
),
BlocBuilder<DailyQuoteBloc, DailyQuoteState>(
builder: (context, state) {
Expand Down
15 changes: 7 additions & 8 deletions lib/features/meditation/presentation/widgets/moods.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';

class MoodButton extends StatelessWidget {
final String label;
final String image;
final Color color;
final String path;
// final Color color;
final VoidCallback onTap;
const MoodButton(
{super.key,
required this.label,
required this.image,
required this.color,
required this.path,
required this.onTap});

@override
Expand All @@ -19,10 +19,9 @@ class MoodButton extends StatelessWidget {
child: Column(
children: [
Container(
padding: const EdgeInsets.all(20),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20), color: color),
child: Image.asset(image),
height: 60,
decoration: BoxDecoration(borderRadius: BorderRadius.circular(20)),
child: LottieBuilder.network(path),
),
Text(
label,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class _MusicPlayerScreenState extends State<MusicPlayerScreen> {
height: 17,
),
Text(
"${widget.song.author}",
"By : ${widget.song.author}",
style: Theme.of(context)
.textTheme
.labelSmall!
Expand Down

0 comments on commit 9a3aee1

Please sign in to comment.