internal bug fix
This commit is contained in:
parent
e01855c0cd
commit
af37af76a7
@ -2225,26 +2225,31 @@ class _ChartScreen1State extends ConsumerState<ChartScreen1> {
|
|||||||
children: [
|
children: [
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => shareCurrentPage(context, _isSharing),
|
onTap: () => shareCurrentPage(context, _isSharing),
|
||||||
|
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
context.translate(
|
context.translate('Share', 'يشارك'),
|
||||||
'Share',
|
|
||||||
'يشارك',
|
|
||||||
),
|
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(width: 5),
|
SizedBox(width: 5),
|
||||||
SvgPicture.asset(
|
_isSharing
|
||||||
|
? SizedBox(
|
||||||
|
width: 24,
|
||||||
|
height: 24,
|
||||||
|
child: CircularProgressIndicator(
|
||||||
|
color: Colors.white,
|
||||||
|
strokeWidth: 2,
|
||||||
|
),
|
||||||
|
) // Show loading spinner
|
||||||
|
: SvgPicture.asset(
|
||||||
UaeNumbersAssetPath.share,
|
UaeNumbersAssetPath.share,
|
||||||
semanticsLabel: 'share',
|
semanticsLabel: 'share',
|
||||||
width: 24,
|
width: 24,
|
||||||
height: 24,
|
height: 24,
|
||||||
)
|
),
|
||||||
],),),
|
],),),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@ -723,10 +723,11 @@ class _FeedbackFormState extends State<FeedbackForm>
|
|||||||
direction: Axis.horizontal,
|
direction: Axis.horizontal,
|
||||||
allowHalfRating: true,
|
allowHalfRating: true,
|
||||||
itemCount: 5,
|
itemCount: 5,
|
||||||
itemSize: 30,
|
itemSize: 28,
|
||||||
itemBuilder: (context, index) => Icon(
|
itemBuilder: (context, index) => Icon(
|
||||||
index < rating ? Icons.star : Icons.star_border,
|
index < rating ? Icons.star_rounded : Icons.star_border_sharp,
|
||||||
color: Colors.amber,
|
color: Colors.amber,
|
||||||
|
size: 30,
|
||||||
),
|
),
|
||||||
// itemBuilder: (context, _) => const Icon(
|
// itemBuilder: (context, _) => const Icon(
|
||||||
// Icons.star,
|
// Icons.star,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user