2 Commits
b7de4af818
...
6d72f14c27
Author | SHA1 | Message | Date |
---|---|---|---|
mohsen zamani | 6d72f14c27 |
fix some bug
|
2 years ago |
mohsen zamani | 7d28218d39 |
fix some bug
|
2 years ago |
11 changed files with 418 additions and 261 deletions
-
29lib/core/language/language_cubit.dart
-
6lib/core/select_language/cubit/select_language_cubit.dart
-
2lib/core/select_language/screen/select_language_screen.dart
-
22lib/core/utils/app_utils.dart
-
23lib/core/widgets/more_options_widget.dart
-
6lib/features/about_us/about_us_screen.dart
-
87lib/features/main/main_screen.dart
-
76lib/features/posts/screen/posts_screen.dart
-
10lib/features/single_post/screen/single_post_screen.dart
-
4lib/features/single_post/widget/add_comment_widget.dart
-
8lib/main.dart
@ -0,0 +1,23 @@ |
|||
import 'package:flutter/material.dart'; |
|||
|
|||
class MoreOptionsWidget extends StatelessWidget { |
|||
final String title; |
|||
final Function() onTap; |
|||
|
|||
const MoreOptionsWidget({super.key, required this.title, required this.onTap}); |
|||
|
|||
@override |
|||
Widget build(BuildContext context) { |
|||
return GestureDetector( |
|||
onTap: onTap, |
|||
child: Text( |
|||
title, |
|||
style: const TextStyle( |
|||
color: Color(0xff222D4E), |
|||
fontSize: 16, |
|||
fontWeight: FontWeight.bold, |
|||
), |
|||
), |
|||
); |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue