File tree Expand file tree Collapse file tree 6 files changed +20
-29
lines changed Expand file tree Collapse file tree 6 files changed +20
-29
lines changed Original file line number Diff line number Diff line change @@ -113,28 +113,9 @@ class _AboutViewState extends State<AboutView> {
113
113
],
114
114
),
115
115
),
116
- const SizedBox (
117
- height: 15 ,
118
- ),
119
- Column (
120
- children: [
121
- IconButton (
122
- iconSize: 35 ,
123
- tooltip: 'الكود المصدري' ,
124
- onPressed: () async {
125
- await _launchUrl (Uri .parse (
126
- 'https://github.com/Shinobi7k/HadithSearcher' ));
127
- },
128
- icon: const Icon (
129
- Icons .code,
130
- ),
131
- alignment: Alignment .center,
132
- ),
133
- const Text ('الكود المصدري' ),
134
- ],
135
- ),
136
- const SizedBox (
137
- height: 15 ,
116
+ Divider (
117
+ color: Theme .of (context).colorScheme.primaryContainer,
118
+ thickness: 2 ,
138
119
),
139
120
Container (
140
121
margin: const EdgeInsets .all (10 ),
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ class _FavouritesViewState extends State<FavouritesView> {
249
249
'hasSharhMetadata' ] ==
250
250
true ) {
251
251
var url = Uri .parse (
252
- "https://dorar-hadith-api.cyclic.app /v1/site/sharh/${hadith ['sharhMetadata' ]['id' ]}" );
252
+ "https://dorar-hadith-api.cyclic.cloud /v1/site/sharh/${hadith ['sharhMetadata' ]['id' ]}" );
253
253
var response = await http
254
254
.get (url)
255
255
.timeout (const Duration (
Original file line number Diff line number Diff line change 1
1
import 'package:flutter/material.dart' ;
2
+ import 'package:flutter_animate/flutter_animate.dart' ;
2
3
import 'package:hadithsearcher/db/database.dart' ;
3
4
import 'package:hadithsearcher/views/similar_hadith_view.dart' ;
4
5
import 'package:http/http.dart' as http;
@@ -179,7 +180,7 @@ class _SearchViewState extends State<SearchView> {
179
180
searchBook = '96' ;
180
181
}
181
182
var url = Uri .parse (
182
- 'https://dorar-hadith-api.cyclic.app /v1/site/hadith/search?value=$searchKeyword &page=$searchPagaNumber &st=$searchWay &t=$searchRange &d[]=$searchGrade &m[]=$searchMohdith &s[]=$searchBook $searchExcludedWords ' );
183
+ 'https://dorar-hadith-api.cyclic.cloud /v1/site/hadith/search?value=$searchKeyword &page=$searchPagaNumber &st=$searchWay &t=$searchRange &d[]=$searchGrade &m[]=$searchMohdith &s[]=$searchBook $searchExcludedWords ' );
183
184
var response = await http.get (url).timeout (const Duration (seconds: 24 ));
184
185
var decodedBody = utf8.decode (response.bodyBytes);
185
186
var jsonResponse = json.decode (decodedBody);
@@ -902,7 +903,7 @@ class _SearchViewState extends State<SearchView> {
902
903
],
903
904
),
904
905
],
905
- ),
906
+ ). animate (). fade (duration : 200. ms) ,
906
907
),
907
908
)
908
909
: _isEmpty
@@ -983,7 +984,7 @@ class _SearchViewState extends State<SearchView> {
983
984
'hasSharhMetadata' ] ==
984
985
true ) {
985
986
var url = Uri .parse (
986
- "https://dorar-hadith-api.cyclic.app /v1/site/sharh/${hadith ['sharhMetadata' ]['id' ]}" );
987
+ "https://dorar-hadith-api.cyclic.cloud /v1/site/sharh/${hadith ['sharhMetadata' ]['id' ]}" );
987
988
var response = await http
988
989
.get (url)
989
990
.timeout (
@@ -1187,7 +1188,7 @@ class _SearchViewState extends State<SearchView> {
1187
1188
),
1188
1189
],
1189
1190
),
1190
- );
1191
+ ). animate (). fade (duration : 200. ms) ;
1191
1192
},
1192
1193
),
1193
1194
),
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class _SimilarHadithViewState extends State<SimilarHadithView> {
89
89
}
90
90
try {
91
91
var url = Uri .parse (
92
- 'https://dorar-hadith-api.cyclic.app /v1/site/hadith/similar/$hadithId ' );
92
+ 'https://dorar-hadith-api.cyclic.cloud /v1/site/hadith/similar/$hadithId ' );
93
93
var response = await http.get (url).timeout (const Duration (seconds: 24 ));
94
94
var decodedBody = utf8.decode (response.bodyBytes);
95
95
var jsonResponse = json.decode (decodedBody);
@@ -266,7 +266,7 @@ class _SimilarHadithViewState extends State<SimilarHadithView> {
266
266
if (hadith['hasSharhMetadata' ] ==
267
267
true ) {
268
268
var url = Uri .parse (
269
- "https://dorar-hadith-api.cyclic.app /v1/site/sharh/${hadith ['sharhMetadata' ]['id' ]}" );
269
+ "https://dorar-hadith-api.cyclic.cloud /v1/site/sharh/${hadith ['sharhMetadata' ]['id' ]}" );
270
270
var response = await http
271
271
.get (url)
272
272
.timeout (
Original file line number Diff line number Diff line change @@ -118,6 +118,14 @@ packages:
118
118
description: flutter
119
119
source: sdk
120
120
version: "0.0.0"
121
+ flutter_animate:
122
+ dependency: "direct main"
123
+ description:
124
+ name: flutter_animate
125
+ sha256: "62f346340a96192070e31e3f2a1bd30a28530f1fe8be978821e06cd56b74d6d2"
126
+ url: "https://pub.dev"
127
+ source: hosted
128
+ version: "4.2.0+1"
121
129
flutter_launcher_icons:
122
130
dependency: "direct main"
123
131
description:
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ dependencies:
45
45
url_launcher : ^6.1.12
46
46
in_app_update : ^4.1.4
47
47
flutter_launcher_icons : ^0.13.1
48
+ flutter_animate : ^4.2.0+1
48
49
49
50
flutter_native_splash :
50
51
color : " #ffffff"
You can’t perform that action at this time.
0 commit comments