├── test
├── core
│ ├── fghg
│ └── model
│ │ └── stream_converter_test.dart
├── features
│ ├── settings
│ │ ├── repository
│ │ │ └── settings_repository_test.dart
│ │ ├── model
│ │ │ └── theme_model_test.dart
│ │ └── bloc
│ │ │ └── theme_bloc_test.dart
│ ├── tweeting
│ │ ├── bloc
│ │ │ └── tweet_media_bloc_test.dart
│ │ └── model
│ │ │ └── tweet_model_test.dart
│ ├── notification
│ │ ├── model
│ │ │ └── notification_model_test.dart
│ │ ├── bloc
│ │ │ └── notification_bloc_test.dart
│ │ └── repository
│ │ │ └── notification_repository_test.dart
│ ├── profile
│ │ ├── bloc
│ │ │ └── image_picker_bloc_test.dart
│ │ └── model
│ │ │ └── user_profile_model_test.dart
│ ├── timeline
│ │ ├── bloc
│ │ │ ├── timeline_bloc_test.dart
│ │ │ └── comment_bloc_test.dart
│ │ └── repository
│ │ │ └── timeline_repository_test.dart
│ └── authentication
│ │ └── bloc
│ │ └── auth_bloc_test.dart
├── mocks
│ └── mocks.dart
└── fixtures
│ └── fixture_reader.dart
├── android
├── settings_aar.gradle
├── gradle.properties
├── app
│ ├── src
│ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable
│ │ │ │ │ └── launch_background.xml
│ │ │ │ └── values
│ │ │ │ │ └── styles.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── fc_twitter
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── AndroidManifest.xml
│ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── google-services.json
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── .gitignore
├── settings.gradle
└── build.gradle
├── lib
├── features
│ ├── messaging
│ │ ├── data
│ │ │ ├── model
│ │ │ │ └── user_model.dart
│ │ │ └── repository
│ │ │ │ └── firebase_user_repository.dart
│ │ ├── domain
│ │ │ ├── entity
│ │ │ │ └── user_entity.dart
│ │ │ └── repository
│ │ │ │ └── firebase_user_repository.dart
│ │ └── representation
│ │ │ ├── widgets
│ │ │ └── new_message_icon.dart
│ │ │ └── pages
│ │ │ └── message_screen.dart
│ ├── searching
│ │ ├── data
│ │ │ ├── model
│ │ │ │ └── user_model.dart
│ │ │ └── repository
│ │ │ │ └── firebase_user_repository.dart
│ │ ├── domain
│ │ │ ├── entity
│ │ │ │ └── user_entity.dart
│ │ │ └── repository
│ │ │ │ └── firebase_user_repository.dart
│ │ └── representation
│ │ │ └── pages
│ │ │ └── search_screen.dart
│ ├── authentication
│ │ ├── representation
│ │ │ ├── bloc
│ │ │ │ ├── bloc.dart
│ │ │ │ ├── auth_event.dart
│ │ │ │ ├── auth_state.dart
│ │ │ │ └── auth_bloc.dart
│ │ │ ├── pages
│ │ │ │ ├── auth_screen.dart
│ │ │ │ └── auth_form.dart
│ │ │ └── widgets
│ │ │ │ └── login_form.dart
│ │ ├── domain
│ │ │ ├── user_entity
│ │ │ │ └── user_entity.dart
│ │ │ └── repository
│ │ │ │ └── user_repository.dart
│ │ └── data
│ │ │ ├── model
│ │ │ └── user_model.dart
│ │ │ └── repository
│ │ │ └── user_repository.dart
│ ├── tweeting
│ │ ├── representation
│ │ │ ├── bloc
│ │ │ │ ├── bloc.dart
│ │ │ │ ├── tweeting_state.dart
│ │ │ │ ├── tweet_media_bloc.dart
│ │ │ │ └── tweeting_event.dart
│ │ │ └── widgets
│ │ │ │ ├── new_tweet_icon.dart
│ │ │ │ ├── like_button.dart
│ │ │ │ ├── tweet_image_display.dart
│ │ │ │ └── media_preview.dart
│ │ ├── domain
│ │ │ ├── repository
│ │ │ │ └── tweeting_repository.dart
│ │ │ └── entity
│ │ │ │ └── tweet_entity.dart
│ │ └── data
│ │ │ └── model
│ │ │ └── tweet_model.dart
│ ├── notification
│ │ ├── representation
│ │ │ ├── widgets
│ │ │ │ ├── mentions.dart
│ │ │ │ ├── all_notifications.dart
│ │ │ │ ├── notification_icon.dart
│ │ │ │ └── notification_item.dart
│ │ │ ├── pages
│ │ │ │ └── notification_screen.dart
│ │ │ └── bloc
│ │ │ │ └── notification_bloc.dart
│ │ ├── domain
│ │ │ ├── entity
│ │ │ │ └── notification_entity.dart
│ │ │ └── repository
│ │ │ │ └── notification_repository.dart
│ │ └── data
│ │ │ ├── model
│ │ │ └── notification_model.dart
│ │ │ └── repository
│ │ │ └── notification_repository.dart
│ ├── settings
│ │ ├── domain
│ │ │ ├── repository
│ │ │ │ └── settings_repository.dart
│ │ │ └── entity
│ │ │ │ └── theme_entity.dart
│ │ ├── data
│ │ │ ├── repository
│ │ │ │ └── settings_repository.dart
│ │ │ └── model
│ │ │ │ └── theme_model.dart
│ │ └── representation
│ │ │ └── bloc
│ │ │ └── theme_bloc.dart
│ ├── timeline
│ │ ├── domain
│ │ │ └── repository
│ │ │ │ └── timeline_repository.dart.dart
│ │ ├── data
│ │ │ └── repository
│ │ │ │ └── timeline_repository.dart
│ │ └── representation
│ │ │ ├── bloc
│ │ │ ├── comment_bloc.dart
│ │ │ └── timeline_bloc.dart
│ │ │ ├── widgets
│ │ │ └── comment_builder.dart
│ │ │ └── pages
│ │ │ └── home_screen.dart
│ └── profile
│ │ ├── domain
│ │ ├── repository
│ │ │ └── profile_repository.dart.dart
│ │ └── entity
│ │ │ └── user_profile_entity.dart
│ │ ├── representation
│ │ ├── widgets
│ │ │ ├── avatar.dart
│ │ │ ├── user_tab_likes.dart
│ │ │ ├── user_tab_media.dart
│ │ │ ├── user_tab_replies.dart
│ │ │ ├── user_tab_tweets.dart
│ │ │ ├── drawer_user_info.dart
│ │ │ ├── profile_image.dart
│ │ │ └── cover_image.dart
│ │ ├── bloc
│ │ │ └── image_picker_bloc.dart
│ │ └── pages
│ │ │ └── profile_screen.dart
│ │ └── data
│ │ └── model
│ │ └── user_profile_model.dart
├── core
│ ├── util
│ │ ├── themes.dart
│ │ └── config.dart
│ ├── error
│ │ └── failure.dart
│ └── model
│ │ └── stream_converter.dart
└── main.dart
├── ios
├── Flutter
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── AppFrameworkInfo.plist
├── Runner
│ ├── Runner-Bridging-Header.h
│ ├── Assets.xcassets
│ │ ├── LaunchImage.imageset
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ ├── README.md
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-83.5x83.5@2x.png
│ │ │ └── Contents.json
│ ├── AppDelegate.swift
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ └── Info.plist
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── WorkspaceSettings.xcsettings
│ │ └── IDEWorkspaceChecks.plist
├── Runner.xcodeproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
└── .gitignore
├── .metadata
├── README.md
├── .gitignore
└── pubspec.yaml
/test/core/fghg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/android/settings_aar.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/lib/features/messaging/data/model/user_model.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/features/messaging/domain/entity/user_entity.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/features/searching/data/model/user_model.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/features/searching/domain/entity/user_entity.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/lib/features/messaging/data/repository/firebase_user_repository.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/features/searching/data/repository/firebase_user_repository.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/features/messaging/domain/repository/firebase_user_repository.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/features/searching/domain/repository/firebase_user_repository.dart:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/features/authentication/representation/bloc/bloc.dart:
--------------------------------------------------------------------------------
1 | export 'auth_bloc.dart';
2 | export 'auth_event.dart';
3 | export 'auth_state.dart';
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 | android.enableR8=true
5 |
--------------------------------------------------------------------------------
/lib/features/tweeting/representation/bloc/bloc.dart:
--------------------------------------------------------------------------------
1 | export 'tweeting_bloc.dart';
2 | export 'tweeting_event.dart';
3 | export 'tweeting_state.dart';
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/o-ifeanyi/twitterClone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/fc_twitter/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.onuifeanyi.fc_twitter
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/lib/features/notification/representation/widgets/mentions.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Mentions extends StatelessWidget {
4 | @override
5 | Widget build(BuildContext context) {
6 | return Container(
7 |
8 | );
9 | }
10 | }
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 1aafb3a8b9b0c36241c5f5b34ee914770f015818
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/lib/features/settings/domain/repository/settings_repository.dart:
--------------------------------------------------------------------------------
1 |
2 | import 'package:dartz/dartz.dart';
3 | import 'package:fc_twitter/core/error/failure.dart';
4 | import 'package:fc_twitter/features/settings/domain/entity/theme_entity.dart';
5 |
6 | abstract class SettingsRepository {
7 | Future> changeTheme(ThemeEntity theme);
8 | }
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/lib/features/notification/domain/entity/notification_entity.dart:
--------------------------------------------------------------------------------
1 | import 'package:cloud_firestore/cloud_firestore.dart';
2 | import 'package:equatable/equatable.dart';
3 |
4 | class NotificationEntity extends Equatable {
5 | final String userId;
6 | final DocumentReference userProfile;
7 | final DocumentReference tweet;
8 | final bool isSeen;
9 |
10 | NotificationEntity({this.userId ,this.userProfile, this.tweet, this.isSeen});
11 | @override
12 | List