├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── AppDelegate.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 │ ├── main.m │ ├── AppDelegate.swift │ ├── AppDelegate.m │ ├── 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 │ └── project.pbxproj └── .gitignore ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ └── Icon-512.png ├── manifest.json └── index.html ├── assets ├── images │ ├── beatiful.jpg │ ├── flutter.jpg │ ├── gamology.jpg │ ├── profile_one.jpg │ ├── profile_two.jpg │ ├── nature_image.jpeg │ ├── profile_four.jpeg │ └── profile_three.jpeg └── screen_shots │ ├── image_foru.png │ ├── image_one.png │ └── image_three.png ├── android ├── 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 │ │ │ │ │ └── facebook_flutter_web │ │ │ │ │ └── MainActivity.kt │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── facebook_flutter_web │ │ │ │ │ └── MainActivity.java │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── build.gradle └── settings.gradle ├── lib ├── data │ └── messenger_data.dart ├── components │ ├── line.dart │ ├── post_components │ │ └── post_widget.dart │ ├── profile_image_component.dart │ ├── circle_icon.dart │ ├── nav_item.dart │ ├── icon_container.dart │ ├── story_component │ │ ├── story_widget.dart │ │ └── story_holder.dart │ ├── stack_profile_image.dart │ ├── message_list_container.dart │ ├── nav_header.dart │ ├── sponsored_list.dart │ ├── notification_list_container.dart │ ├── home_components │ │ └── post_component.dart │ └── nav.dart ├── pages │ ├── page_games.dart │ ├── page_group.dart │ ├── page_videos.dart │ └── page_home.dart ├── main.dart ├── constants.dart ├── top_nav_dialog │ ├── nav_dialog_holder.dart │ ├── messenger_dialog.dart │ ├── add_dialog.dart │ ├── notification_dialog.dart │ └── profile_dialog.dart └── main_page.dart ├── .metadata ├── README.md ├── .gitignore ├── test └── widget_test.dart ├── pubspec.yaml └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/web/icons/Icon-512.png -------------------------------------------------------------------------------- /assets/images/beatiful.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/beatiful.jpg -------------------------------------------------------------------------------- /assets/images/flutter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/flutter.jpg -------------------------------------------------------------------------------- /assets/images/gamology.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/gamology.jpg -------------------------------------------------------------------------------- /assets/images/profile_one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/profile_one.jpg -------------------------------------------------------------------------------- /assets/images/profile_two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/profile_two.jpg -------------------------------------------------------------------------------- /assets/images/nature_image.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/nature_image.jpeg -------------------------------------------------------------------------------- /assets/images/profile_four.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/profile_four.jpeg -------------------------------------------------------------------------------- /assets/images/profile_three.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/images/profile_three.jpeg -------------------------------------------------------------------------------- /assets/screen_shots/image_foru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/screen_shots/image_foru.png -------------------------------------------------------------------------------- /assets/screen_shots/image_one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/screen_shots/image_one.png -------------------------------------------------------------------------------- /assets/screen_shots/image_three.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/assets/screen_shots/image_three.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnKinyanjui/facebook_flutter_web/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/JohnKinyanjui/facebook_flutter_web/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/facebook_flutter_web/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.facebook_flutter_web 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/facebook_flutter_web/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.facebook_flutter_web; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 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 | -------------------------------------------------------------------------------- /lib/data/messenger_data.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MessengerData{ 4 | final String image; 5 | final String full_name; 6 | final String message; 7 | 8 | MessengerData(this.image, this.full_name, this.message); 9 | } 10 | List messenger_data = [ 11 | 12 | ]; -------------------------------------------------------------------------------- /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: 8fe7655ed20ffd1395f68e30539a847a01a30351 8 | channel: beta 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /lib/components/line.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/constants.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class Line extends StatelessWidget { 5 | @override 6 | Widget build(BuildContext context) { 7 | return Container( 8 | height: 0.5, 9 | width: double.infinity, 10 | color: icon_color, 11 | ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /lib/pages/page_games.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class PageGames extends StatefulWidget { 4 | PageGames({Key key}) : super(key: key); 5 | 6 | @override 7 | _PageGamesState createState() => _PageGamesState(); 8 | } 9 | 10 | class _PageGamesState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Container(); 14 | } 15 | } -------------------------------------------------------------------------------- /lib/pages/page_group.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class PageGroup extends StatefulWidget { 4 | PageGroup({Key key}) : super(key: key); 5 | 6 | @override 7 | _PageGroupState createState() => _PageGroupState(); 8 | } 9 | 10 | class _PageGroupState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Container(); 14 | } 15 | } -------------------------------------------------------------------------------- /lib/pages/page_videos.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class PageVideos extends StatefulWidget { 4 | PageVideos({Key key}) : super(key: key); 5 | 6 | @override 7 | _PageVideosState createState() => _PageVideosState(); 8 | } 9 | 10 | class _PageVideosState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Container(); 14 | } 15 | } -------------------------------------------------------------------------------- /lib/components/post_components/post_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class PostWidget extends StatefulWidget { 4 | PostWidget({Key key}) : super(key: key); 5 | 6 | @override 7 | _PostWidgetState createState() => _PostWidgetState(); 8 | } 9 | 10 | class _PostWidgetState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Container( 14 | 15 | 16 | ); 17 | }} 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.5.0' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:facebook_flutter_web/main_page.dart'; 3 | 4 | void main() { 5 | runApp(MyApp()); 6 | } 7 | 8 | class MyApp extends StatelessWidget { 9 | // This widget is the root of your application. 10 | @override 11 | Widget build(BuildContext context) { 12 | return MaterialApp( 13 | title: 'Flutter Demo', 14 | debugShowCheckedModeBanner: false, 15 | theme: ThemeData( 16 | primarySwatch: Colors.blue, 17 | visualDensity: VisualDensity.adaptivePlatformDensity, 18 | ), 19 | home: MainPage(), 20 | ); 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /lib/components/profile_image_component.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ProfileImageComponent extends StatelessWidget { 4 | final double height; 5 | final double width; 6 | final String image; 7 | 8 | ProfileImageComponent({this.height, this.width, this.image}); 9 | @override 10 | Widget build(BuildContext context) { 11 | return Container( 12 | height: height, 13 | width: width, 14 | decoration: BoxDecoration( 15 | color: Colors.white, 16 | shape: BoxShape.circle, 17 | image: DecorationImage(image: AssetImage(image), fit: BoxFit.cover) 18 | ), 19 | ); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | include ':app' 6 | 7 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 8 | def properties = new Properties() 9 | 10 | assert localPropertiesFile.exists() 11 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 12 | 13 | def flutterSdkPath = properties.getProperty("flutter.sdk") 14 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 15 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 16 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "facebook_flutter_web", 3 | "short_name": "facebook_flutter_web", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # facebook_flutter_web 2 | Facebook flutter web is a clone of the current facebook website which is really stunning and beatiful. 3 | 4 |

5 | accessibility text 6 |

7 | 8 | 9 |

10 | accessibility text 11 |

12 | 13 |

14 | accessibility text 15 |

16 | -------------------------------------------------------------------------------- /lib/constants.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | /* 4 | * Text Styles Used 5 | */ 6 | 7 | Color background_color = Color(0xff18191a); 8 | Color active_color = Color(0xff3086fa); 9 | Color normal_color = Color(0xffe4e6eb); 10 | Color text_field_Color =Color(0xff3a3b3c); 11 | Color icon_color = Color(0xffe4e6eb); 12 | Color container_color = Color(0xff242526); 13 | 14 | /* 15 | * Text Styles Used 16 | */ 17 | 18 | TextStyle header_dialog_text_large = TextStyle(fontSize: 25, color: Colors.white, fontWeight: FontWeight.w800); 19 | TextStyle header_dialog_text_small = TextStyle(fontSize: 18, color: Colors.white, fontWeight: FontWeight.w700); 20 | TextStyle header_dialog_text_thin = TextStyle(fontSize: 20, color: Colors.white, fontWeight: FontWeight.w400); -------------------------------------------------------------------------------- /lib/components/circle_icon.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CircleIcon extends StatelessWidget { 4 | final Color icon_color; 5 | final IconData icon; 6 | final Function onpress; 7 | 8 | const CircleIcon({Key key, this.icon_color, this.icon, this.onpress}) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return GestureDetector( 13 | onTap: onpress, 14 | child: Padding( 15 | padding: const EdgeInsets.only(left:8.0, right: 8), 16 | child: Container( 17 | height: 40, 18 | width: 40, 19 | decoration: BoxDecoration( 20 | shape: BoxShape.circle, 21 | color: Colors.grey[800] 22 | ), 23 | child: Center( 24 | child: Icon(icon, color: icon_color, size: 16,), 25 | ), 26 | 27 | ), 28 | ), 29 | ); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Exceptions to above rules. 44 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 45 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/top_nav_dialog/nav_dialog_holder.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/constants.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class NavDialogHolder extends StatelessWidget { 5 | final Widget child; 6 | final double bottom; 7 | 8 | const NavDialogHolder({Key key, this.child, this.bottom}) : super(key: key); 9 | @override 10 | Widget build(BuildContext context) { 11 | double width = MediaQuery.of(context).size.width; 12 | 13 | return Positioned( 14 | top: 70, 15 | left: width-370, 16 | bottom: bottom, 17 | child: Padding( 18 | padding: const EdgeInsets.all(8.0), 19 | child: Container( 20 | width: 350, 21 | decoration: BoxDecoration( 22 | color: background_color, 23 | borderRadius: BorderRadius.all(Radius.circular(20)), 24 | border: Border.all(color: Colors.grey[800],width: 0.5) 25 | ), 26 | child: child, 27 | ), 28 | ), 29 | ); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lib/components/nav_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 3 | 4 | class NavItem extends StatelessWidget { 5 | final IconData icon; 6 | final Color icon_color; 7 | final Color tab_color; 8 | final Function onpress; 9 | 10 | const NavItem({Key key, this.icon, this.onpress, this.icon_color, this.tab_color}) : super(key: key); 11 | 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | return GestureDetector( 16 | onTap: onpress, 17 | child: Container( 18 | height: 70, 19 | width: 100, 20 | child: Column( 21 | children: [ 22 | Expanded(child: SizedBox()), 23 | Icon(icon, color: icon_color,size: 30,), 24 | Expanded(child: SizedBox()), 25 | Container( 26 | height: 4, 27 | width: 100, 28 | color: tab_color, 29 | ) 30 | ], 31 | ), 32 | ), 33 | ); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:facebook_flutter_web/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /lib/components/icon_container.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 3 | 4 | import '../constants.dart'; 5 | import 'circle_icon.dart'; 6 | 7 | class IconContainer extends StatelessWidget { 8 | 9 | final IconData icon; 10 | final String title; 11 | final String sub; 12 | 13 | const IconContainer({Key key, this.icon, this.title, this.sub}) : super(key: key); 14 | 15 | 16 | @override 17 | Widget build(BuildContext context) { 18 | return Container( 19 | height: 50, 20 | width: double.infinity, 21 | child: Row( 22 | children: [ 23 | CircleIcon( 24 | icon: icon, 25 | icon_color: icon_color, 26 | ), 27 | Column( 28 | mainAxisAlignment: MainAxisAlignment.center, 29 | crossAxisAlignment: CrossAxisAlignment.start, 30 | children: [ 31 | Text(title,style: TextStyle(fontSize: 15, color: Colors.white, fontWeight: FontWeight.w300)), 32 | SizedBox(height: 3,), 33 | Text(sub,style: TextStyle(fontSize: 10, color: icon_color, fontWeight: FontWeight.w300)) 34 | 35 | 36 | ], 37 | ) 38 | ], 39 | ), 40 | ); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | facebook_flutter_web 18 | 19 | 20 | 21 | 24 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /lib/components/story_component/story_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/components/story_component/story_holder.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class StoryWidget extends StatefulWidget { 5 | StoryWidget({Key key}) : super(key: key); 6 | 7 | @override 8 | _StoryWidgetState createState() => _StoryWidgetState(); 9 | } 10 | 11 | class _StoryWidgetState extends State { 12 | @override 13 | Widget build(BuildContext context) { 14 | return Container( 15 | height: 200, 16 | child: ListView( 17 | scrollDirection: Axis.horizontal, 18 | children: [ 19 | StoryHolder(image: "assets/images/profile_two.jpg",profile_image: "assets/images/profile_one.jpg",name: "Jakes",), 20 | StoryHolder(image: "assets/images/flutter.jpg",profile_image: "assets/images/profile_three.jpeg",name: "Josh",), 21 | StoryHolder(image: "assets/images/nature_image.jpeg",profile_image: "assets/images/profile_two.jpg",name: "Driwnky",), 22 | StoryHolder(image: "assets/images/gamology.jpg",profile_image: "assets/images/gamology.jpg",name: "Gamelogy",), 23 | StoryHolder(image: "assets/images/profile_four.jpeg",profile_image: "assets/images/beatiful.jpg",name: "Sarah",), 24 | 25 | ], 26 | ), 27 | ); 28 | } 29 | } -------------------------------------------------------------------------------- /lib/components/stack_profile_image.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class StackProfileImage extends StatelessWidget { 4 | final String image; 5 | final IconData icon; 6 | final Color color; 7 | 8 | const StackProfileImage({Key key, this.image, this.icon, this.color}) : super(key: key); 9 | @override 10 | Widget build(BuildContext context) { 11 | return Container( 12 | width: 90, 13 | height: 100, 14 | child: Stack( 15 | children: [ 16 | 17 | Container( 18 | height: 70, 19 | width: 70, 20 | decoration: BoxDecoration( 21 | shape: BoxShape.circle, color: Colors.white, 22 | image: DecorationImage(image: AssetImage(image), fit: BoxFit.cover) 23 | ), 24 | ), 25 | Positioned( 26 | top: 40, 27 | left: 50, 28 | child: Container( 29 | height: 30, 30 | width: 30, 31 | decoration: BoxDecoration( 32 | color: color, 33 | shape: BoxShape.circle 34 | ), 35 | child: Center( 36 | child: Icon(icon, color: Colors.white,size: 18,), 37 | ), 38 | ), 39 | ), 40 | ], 41 | ), 42 | ); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /lib/components/message_list_container.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/constants.dart'; 2 | import 'package:facebook_flutter_web/components/circle_icon.dart'; 3 | import 'package:facebook_flutter_web/components/profile_image_component.dart'; 4 | import 'package:facebook_flutter_web/data/messenger_data.dart'; 5 | import 'package:flutter/material.dart'; 6 | 7 | class MessageContainer extends StatelessWidget { 8 | final String image; 9 | final String title; 10 | final String sub; 11 | 12 | const MessageContainer({Key key, this.image, this.title, this.sub}) 13 | : super(key: key); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Container( 18 | height: 80, 19 | width: double.infinity, 20 | child: Row( 21 | children: [ 22 | ProfileImageComponent( 23 | height: 50, 24 | width: 50, 25 | image: image, 26 | ), 27 | SizedBox(width: 20,), 28 | Expanded(child: Column( 29 | crossAxisAlignment: CrossAxisAlignment.start, 30 | mainAxisAlignment: MainAxisAlignment.center, 31 | children: [ 32 | Text(title, style: TextStyle(color: icon_color, fontSize: 18),), 33 | SizedBox(height: 4,), 34 | Text( 35 | sub, style: TextStyle(color: Colors.grey[600], fontSize: 12),) 36 | 37 | ], 38 | )) 39 | ], 40 | ), 41 | ); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /lib/components/nav_header.dart: -------------------------------------------------------------------------------- 1 | import 'package:feather_icons_flutter/feather_icons_flutter.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 4 | 5 | import '../constants.dart'; 6 | 7 | class NavHeader extends StatelessWidget { 8 | @override 9 | Widget build(BuildContext context) { 10 | return Row( 11 | children: [ 12 | Container( 13 | height: 50, 14 | width: 50, 15 | decoration: BoxDecoration( 16 | color: Colors.blue[700], 17 | shape: BoxShape.circle, 18 | 19 | ), 20 | child: Center( 21 | child: Icon(FontAwesomeIcons.facebookF, color: Colors.white,), 22 | ), 23 | ), 24 | SizedBox(width: 10,), 25 | Padding( 26 | padding: const EdgeInsets.all(4.0), 27 | child: Container( 28 | height: 45, 29 | width: 240, 30 | decoration: BoxDecoration( 31 | color: text_field_Color, 32 | borderRadius: BorderRadius.all(Radius.circular(50)) 33 | ), 34 | child: Center( 35 | child: TextField( 36 | decoration: InputDecoration( 37 | prefixIcon: Icon(FeatherIcons.search, color: icon_color,), 38 | border: InputBorder.none, 39 | hintText: "Search Facebook", 40 | hintStyle: TextStyle(fontSize: 15, color: icon_color) 41 | ), 42 | 43 | ), 44 | ), 45 | ), 46 | ), 47 | ], 48 | ); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /lib/components/sponsored_list.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class SponsoredList extends StatelessWidget { 4 | final String image; 5 | final String title; 6 | final String sub; 7 | 8 | const SponsoredList({Key key, this.image, this.title, this.sub}) : super(key: key); 9 | 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Container( 14 | height: 100, 15 | width: 300, 16 | child: Row( 17 | children: [ 18 | Padding( 19 | padding: const EdgeInsets.all(8.0), 20 | child: Container( 21 | height: 100, 22 | width: 80, 23 | decoration: BoxDecoration( 24 | borderRadius: BorderRadius.all(Radius.circular(20)), 25 | image: DecorationImage(image: AssetImage(image),fit: BoxFit.cover) 26 | ), 27 | ), 28 | ), 29 | SizedBox(width: 10,), 30 | Expanded( 31 | child: Padding( 32 | padding: const EdgeInsets.all(8.0), 33 | child: Column( 34 | crossAxisAlignment: CrossAxisAlignment.start, 35 | mainAxisAlignment: MainAxisAlignment.center, 36 | children: [ 37 | Text(title,style: TextStyle(fontSize: 15, color: Colors.grey[100], fontWeight: FontWeight.w400 ), maxLines: 2,), 38 | SizedBox(height: 10,), 39 | Text(sub,style: TextStyle(fontSize: 10, color: Colors.grey[100], fontWeight: FontWeight.w300),), 40 | ], 41 | ), 42 | ), 43 | ) 44 | ], 45 | ), 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | facebook_flutter_web 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /lib/components/notification_list_container.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/components/stack_profile_image.dart'; 2 | import 'package:facebook_flutter_web/constants.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter/rendering.dart'; 5 | 6 | class NotificationListContainer extends StatelessWidget { 7 | final String image; 8 | final IconData icon; 9 | final Color color; 10 | final String title; 11 | final String sub; 12 | final String when; 13 | 14 | const NotificationListContainer({Key key, this.image, this.icon, this.color, this.title, this.sub, this.when}) : super(key: key); 15 | 16 | @override 17 | Widget build(BuildContext context) { 18 | return Container( 19 | width: double.infinity, 20 | child: Row( 21 | mainAxisAlignment: MainAxisAlignment.center, 22 | crossAxisAlignment: CrossAxisAlignment.start, 23 | children: [ 24 | SizedBox(width: 10,), 25 | StackProfileImage( 26 | image: image, 27 | icon: icon, 28 | color: color, 29 | ), 30 | Column( 31 | mainAxisAlignment: MainAxisAlignment.center, 32 | crossAxisAlignment: CrossAxisAlignment.start, 33 | children: [ 34 | Text(title, style: TextStyle(fontSize: 17, color: Colors.white, fontWeight: FontWeight.w800),), 35 | Text(sub, style: TextStyle(fontSize: 12, color: Colors.white, fontWeight: FontWeight.w400),), 36 | SizedBox(height: 10,), 37 | Text(when, style: TextStyle(fontSize: 15, color: Colors.blue, fontWeight: FontWeight.w800),), 38 | 39 | ], 40 | ), 41 | Expanded(child: SizedBox()), 42 | 43 | ], 44 | ), 45 | ); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 28 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.example.facebook_flutter_web" 37 | minSdkVersion 16 38 | targetSdkVersion 28 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | } 42 | 43 | buildTypes { 44 | release { 45 | // TODO: Add your own signing config for the release build. 46 | // Signing with the debug keys for now, so `flutter run --release` works. 47 | signingConfig signingConfigs.debug 48 | } 49 | } 50 | } 51 | 52 | flutter { 53 | source '../..' 54 | } 55 | -------------------------------------------------------------------------------- /lib/components/story_component/story_holder.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/constants.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class StoryHolder extends StatelessWidget { 5 | final String image; 6 | final String profile_image; 7 | final String name; 8 | 9 | const StoryHolder({Key key, this.image, this.profile_image, this.name}) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Padding( 14 | padding: const EdgeInsets.all(8.0), 15 | child: Container( 16 | width: 100, 17 | height: 300, 18 | decoration: BoxDecoration( 19 | borderRadius: BorderRadius.all(Radius.circular(20)), 20 | image: DecorationImage(image: AssetImage(image), fit: BoxFit.cover) 21 | ), 22 | child: Column( 23 | children: [ 24 | Row( 25 | children: [ 26 | Expanded(child: SizedBox()), 27 | Padding( 28 | padding: const EdgeInsets.all(8.0), 29 | child: Container( 30 | height: 40, 31 | width: 40, 32 | decoration: BoxDecoration( 33 | border: Border.all(color: Colors.blue,width: 2), 34 | image: DecorationImage(image: AssetImage(profile_image), fit: BoxFit.cover), 35 | shape: BoxShape.circle 36 | 37 | ), 38 | 39 | ), 40 | ), 41 | ], 42 | ), 43 | Expanded(child: SizedBox()), 44 | Padding( 45 | padding: const EdgeInsets.all(8.0), 46 | child: Text(name,style: TextStyle(color: Colors.white, fontSize: 18, fontWeight: FontWeight.w800),), 47 | ) 48 | ], 49 | ), 50 | ), 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /lib/top_nav_dialog/messenger_dialog.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/constants.dart'; 2 | import 'package:feather_icons_flutter/feather_icons_flutter.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 5 | import 'package:facebook_flutter_web/components/message_list_container.dart'; 6 | 7 | class MessengerDialog extends StatelessWidget { 8 | @override 9 | Widget build(BuildContext context) { 10 | return Padding( 11 | padding: const EdgeInsets.all(8.0), 12 | child: Column( 13 | mainAxisAlignment: MainAxisAlignment.start, 14 | crossAxisAlignment: CrossAxisAlignment.start, 15 | children: [ 16 | Row( 17 | children: [ 18 | Text("Messenger",style: TextStyle(fontSize: 25, color: Colors.white, fontWeight: FontWeight.w800),), 19 | Expanded(child: SizedBox()), 20 | Icon(FontAwesomeIcons.expand, color: icon_color, size: 20,), 21 | SizedBox(width: 15,), 22 | Icon(FontAwesomeIcons.video, color: icon_color, size: 20,), 23 | SizedBox(width: 15,), 24 | Icon(FontAwesomeIcons.solidEdit, color: icon_color, size: 20,), 25 | SizedBox(width: 15,), 26 | Icon(Icons.more_horiz, color: icon_color, size: 20,), 27 | SizedBox(width: 15,), 28 | ], 29 | ), 30 | SizedBox(height: 20,), 31 | Container( 32 | height: 40, 33 | width: double.infinity, 34 | decoration: BoxDecoration( 35 | color: text_field_Color, 36 | borderRadius: BorderRadius.all(Radius.circular(20)) 37 | ), 38 | child: Row( 39 | children: [ 40 | SizedBox(width: 10,), 41 | Icon(FeatherIcons.search, color: icon_color,), 42 | SizedBox(width: 10,), 43 | Text("Search Messenger" ,style: TextStyle(color: icon_color),) 44 | ], 45 | ), 46 | ), 47 | MessageContainer( 48 | image: "assets/images/profile_four.jpeg", 49 | title: "Sarah Oroku", 50 | sub: "Am on bro? - 1dy ago", 51 | ), 52 | MessageContainer( 53 | image: "assets/images/profile_two.jpg", 54 | title: "Drew KIl", 55 | sub: "Welcome to Kenya - 1hr ago", 56 | ), 57 | MessageContainer( 58 | image: "assets/images/profile_three.jpeg", 59 | title: "Josh Willington", 60 | sub: "This looks nicw - 1hr ago", 61 | ) 62 | ], 63 | ), 64 | ); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 23 | 27 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /lib/top_nav_dialog/add_dialog.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/components/circle_icon.dart'; 2 | import 'package:facebook_flutter_web/components/icon_container.dart'; 3 | import 'package:facebook_flutter_web/top_nav_dialog/nav_dialog_holder.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 6 | 7 | import '../constants.dart'; 8 | 9 | class AddDialog extends StatelessWidget { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Padding( 13 | padding: const EdgeInsets.all(8.0), 14 | child: Column( 15 | mainAxisAlignment: MainAxisAlignment.start, 16 | crossAxisAlignment: CrossAxisAlignment.start, 17 | children: [ 18 | Padding( 19 | padding: const EdgeInsets.all(8.0), 20 | child: Text("Create",style: TextStyle(fontSize: 25, color: Colors.white, fontWeight: FontWeight.w800),), 21 | ), 22 | IconContainer( 23 | icon: FontAwesomeIcons.solidEdit, 24 | title: "Post", 25 | sub: "Share a post in news feed", 26 | ), 27 | SizedBox(height: 10,), 28 | IconContainer( 29 | icon: FontAwesomeIcons.history, 30 | title: "Story", 31 | sub: "Share a text or photo in your Story", 32 | ), 33 | SizedBox(height: 10,), 34 | IconContainer( 35 | icon: FontAwesomeIcons.solidStar, 36 | title: "Life Event", 37 | sub: "Share a post in news feed", 38 | ), 39 | SizedBox(height: 10,), 40 | Container( 41 | height: 0.5, 42 | width: double.infinity, 43 | color: icon_color, 44 | ), 45 | SizedBox(height: 10,), 46 | IconContainer( 47 | icon: FontAwesomeIcons.fontAwesomeFlag, 48 | title: "Page", 49 | sub: "connect and share with customers and fans", 50 | ), 51 | SizedBox(height: 10,), 52 | IconContainer( 53 | icon: FontAwesomeIcons.bullhorn, 54 | title: "Page", 55 | sub: "Advertise your business, brand or organization", 56 | ), 57 | SizedBox(height: 10,), 58 | IconContainer( 59 | icon: FontAwesomeIcons.users, 60 | title: "Group", 61 | sub: "Connect with people who share your interest", 62 | ), 63 | SizedBox(height: 10,), 64 | IconContainer( 65 | icon: FontAwesomeIcons.plusSquare, 66 | title: "Event", 67 | sub: "Bring people together with a public or private event", 68 | ), 69 | ], 70 | ), 71 | ); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /lib/top_nav_dialog/notification_dialog.dart: -------------------------------------------------------------------------------- 1 | import 'dart:html'; 2 | 3 | import 'package:facebook_flutter_web/components/notification_list_container.dart'; 4 | import 'package:facebook_flutter_web/components/stack_profile_image.dart'; 5 | import 'package:facebook_flutter_web/constants.dart'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:flutter/rendering.dart'; 8 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 9 | 10 | class NotificationDialog extends StatelessWidget { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Padding( 14 | padding: const EdgeInsets.all(8.0), 15 | child: Column( 16 | crossAxisAlignment: CrossAxisAlignment.start, 17 | children: [ 18 | Row( 19 | children: [ 20 | SizedBox(width: 10,), 21 | 22 | Text("Notifications",style: header_dialog_text_large,), 23 | Expanded(child: SizedBox()) 24 | ], 25 | ), 26 | SizedBox(height: 20,), 27 | Row( 28 | children: [ 29 | Text("Today",style: header_dialog_text_small,) 30 | ], 31 | ), 32 | SizedBox(height: 20,), 33 | NotificationListContainer( 34 | image: "assets/images/gamology.jpg", 35 | icon: FontAwesomeIcons.fontAwesomeFlag, 36 | color: Colors.amber, 37 | title: "Gamology - Best of gaming", 38 | sub: "posted a new video today", 39 | when: "11hrs ago", 40 | ), 41 | NotificationListContainer( 42 | image: "assets/images/profile_four.jpeg", 43 | icon: FontAwesomeIcons.facebookMessenger, 44 | color: Colors.blue, 45 | title: "Sarah Oroku", 46 | sub: "sent to you a new message", 47 | when: "1hr ago", 48 | ), 49 | NotificationListContainer( 50 | image: "assets/images/flutter.jpg", 51 | icon: FontAwesomeIcons.fontAwesomeFlag, 52 | color: Colors.amber, 53 | title: "Flutter - Best of flutter", 54 | sub: "posted a new video today of the flutter web", 55 | when: "11hrs ago", 56 | ), 57 | NotificationListContainer( 58 | image: "assets/images/profile_one.jpg", 59 | icon: FontAwesomeIcons.users, 60 | color: Colors.blue, 61 | title: "Jakes", 62 | sub: "you were tagged in an image", 63 | when: "11hrs ago", 64 | ), 65 | SizedBox(height: 5,), 66 | Row( 67 | children: [ 68 | Text("Yesterday",style: header_dialog_text_small,) 69 | ], 70 | ), 71 | SizedBox(height: 10,), 72 | 73 | NotificationListContainer( 74 | image: "assets/images/profile_three.jpeg", 75 | icon: FontAwesomeIcons.facebookMessenger, 76 | color: Colors.blue, 77 | title: "Josh", 78 | sub: "Invited you to a Dev PAges", 79 | when: "1 days ago", 80 | ), 81 | 82 | ], 83 | ), 84 | ); 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /lib/components/home_components/post_component.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/components/profile_image_component.dart'; 2 | import 'package:facebook_flutter_web/constants.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 5 | 6 | import '../line.dart'; 7 | 8 | class PostComponent extends StatefulWidget { 9 | PostComponent({Key key}) : super(key: key); 10 | 11 | @override 12 | _PostComponentState createState() => _PostComponentState(); 13 | } 14 | 15 | class _PostComponentState extends State { 16 | @override 17 | Widget build(BuildContext context) { 18 | return Container( 19 | height: 200, 20 | width: double.infinity, 21 | decoration: BoxDecoration( 22 | color: container_color, 23 | borderRadius: BorderRadius.all(Radius.circular(10)) 24 | ), 25 | child: Padding( 26 | padding: const EdgeInsets.all(20.0), 27 | child: Column( 28 | children: [ 29 | Row( 30 | children: [ 31 | ProfileImageComponent( 32 | height: 40, 33 | width: 40, 34 | image: "assets/images/profile_one.jpg", 35 | ), 36 | Padding( 37 | padding: const EdgeInsets.all(8.0), 38 | child: Container( 39 | height: 40, 40 | width: 500, 41 | decoration: BoxDecoration( 42 | color: text_field_Color, 43 | borderRadius: BorderRadius.all(Radius.circular(40)) 44 | ), 45 | child: Padding( 46 | padding: const EdgeInsets.all(8.0), 47 | child: Text("What's on your mind, Jakes?", style: TextStyle(color: Colors.white, fontWeight: FontWeight.w300),), 48 | ), 49 | ), 50 | ), 51 | ], 52 | ), 53 | SizedBox(height: 30,), 54 | Line(), 55 | Expanded(child: SizedBox()), 56 | 57 | Row( 58 | children: [ 59 | Expanded(child: SizedBox()), 60 | 61 | Padding( 62 | padding: const EdgeInsets.all(8.0), 63 | child: Icon(FontAwesomeIcons.video, color: Colors.red[900], size: 30,), 64 | ), 65 | Text("Live Video",style: TextStyle(color: icon_color, fontSize: 15, fontWeight: FontWeight.w800),), 66 | 67 | Expanded(child: SizedBox()), 68 | Padding( 69 | padding: const EdgeInsets.all(8.0), 70 | child: Icon(FontAwesomeIcons.photoVideo, color: Colors.green, size: 30,), 71 | ), 72 | Text("Photo/Video",style: TextStyle(color: icon_color, fontSize: 15, fontWeight: FontWeight.w800),), 73 | 74 | Expanded(child: SizedBox()), 75 | Padding( 76 | padding: const EdgeInsets.all(8.0), 77 | child: Icon(FontAwesomeIcons.smile, color: Colors.yellow,size: 30,), 78 | ), 79 | Text("Live Video",style: TextStyle(color: icon_color, fontSize: 15, fontWeight: FontWeight.w800)), 80 | Expanded(child: SizedBox()), 81 | 82 | ], 83 | ) 84 | ], 85 | ), 86 | ), 87 | ); 88 | } 89 | } -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: facebook_flutter_web 2 | description: A new Flutter application. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | 27 | 28 | # The following adds the Cupertino Icons font to your application. 29 | # Use with the CupertinoIcons class for iOS style icons. 30 | cupertino_icons: ^0.1.3 31 | google_fonts: ^1.1.0 32 | feather_icons_flutter: ^4.7.4 33 | font_awesome_flutter: ^8.8.1 34 | path_provider: ^1.6.11 35 | material_design_icons_flutter: ^4.0.5345 36 | amazingneoicons: ^0.0.3 37 | 38 | 39 | 40 | 41 | 42 | 43 | dev_dependencies: 44 | flutter_test: 45 | sdk: flutter 46 | 47 | # For information on the generic Dart part of this file, see the 48 | # following page: https://dart.dev/tools/pub/pubspec 49 | 50 | # The following section is specific to Flutter. 51 | flutter: 52 | 53 | # The following line ensures that the Material Icons font is 54 | # included with your application, so that you can use the icons in 55 | # the material Icons class. 56 | uses-material-design: true 57 | 58 | # To add assets to your application, add an assets section, like this: 59 | assets: 60 | - assets/images/profile_one.jpg 61 | - assets/images/profile_two.jpg 62 | - assets/images/profile_four.jpeg 63 | - assets/images/profile_three.jpeg 64 | - assets/images/gamology.jpg 65 | - assets/images/flutter.jpg 66 | - assets/images/nature_image.jpeg 67 | - assets/images/beatiful.jpg 68 | 69 | # An image asset can refer to one or more resolution-specific "variants", see 70 | # https://flutter.dev/assets-and-images/#resolution-aware. 71 | 72 | # For details regarding adding assets from package dependencies, see 73 | # https://flutter.dev/assets-and-images/#from-packages 74 | 75 | # To add custom fonts to your application, add a fonts section here, 76 | # in this "flutter" section. Each entry in this list should have a 77 | # "family" key with the font family name, and a "fonts" key with a 78 | # list giving the asset and other descriptors for the font. For 79 | # example: 80 | # fonts: 81 | # - family: Schyler 82 | # fonts: 83 | # - asset: fonts/Schyler-Regular.ttf 84 | # - asset: fonts/Schyler-Italic.ttf 85 | # style: italic 86 | # - family: Trajan Pro 87 | # fonts: 88 | # - asset: fonts/TrajanPro.ttf 89 | # - asset: fonts/TrajanPro_Bold.ttf 90 | # weight: 700 91 | # 92 | # For details regarding fonts from package dependencies, 93 | # see https://flutter.dev/custom-fonts/#from-packages 94 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /lib/components/nav.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/components/nav_header.dart'; 2 | import 'package:facebook_flutter_web/components/nav_item.dart'; 3 | import 'package:facebook_flutter_web/constants.dart'; 4 | import 'package:facebook_flutter_web/components/circle_icon.dart'; 5 | import 'package:facebook_flutter_web/components/profile_image_component.dart'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 8 | import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; 9 | 10 | class Nav extends StatelessWidget { 11 | final Function on_add_clicked; 12 | final Function on_messenger_Clicked; 13 | final Function on_notification_clicked; 14 | final Function on_profile_clicked; 15 | 16 | final Function on_tab_1_clicked; 17 | final Function on_tab_2_clicked; 18 | final Function on_tab_3_clicked; 19 | final Function on_tab_4_clicked; 20 | 21 | final bool tab_1_active; 22 | final bool tab_2_active; 23 | final bool tab_3_active; 24 | final bool tab_4_active; 25 | 26 | final Color color_1; 27 | final Color color_2; 28 | final Color color_3; 29 | final Color color_4; 30 | 31 | 32 | const Nav({Key key, this.on_add_clicked, this.on_messenger_Clicked, this.on_notification_clicked, this.on_profile_clicked, this.color_1, this.color_2, this.color_3, this.color_4, this.on_tab_1_clicked, this.on_tab_2_clicked, this.on_tab_3_clicked, this.on_tab_4_clicked, this.tab_1_active, this.tab_2_active, this.tab_3_active, this.tab_4_active}) : super(key: key); 33 | 34 | @override 35 | Widget build(BuildContext context) { 36 | return Container( 37 | height: 70, 38 | width: double.infinity, 39 | decoration: BoxDecoration( 40 | border: Border(bottom: BorderSide(color: normal_color.withOpacity(0.5), width: 0.5)) 41 | ), 42 | child: Padding( 43 | padding: const EdgeInsets.only(left :8.0, right: 8), 44 | child: Row( 45 | children: [ 46 | NavHeader(), 47 | Expanded(child: SizedBox()), 48 | NavItem( 49 | icon: tab_1_active == true ? MdiIcons.homeVariant: MdiIcons.homeVariantOutline, 50 | icon_color: tab_1_active == true ? Colors.blue :icon_color, 51 | tab_color:tab_1_active == true ? Colors.blue : Colors.transparent, 52 | onpress: on_tab_1_clicked, 53 | ), 54 | NavItem( 55 | icon: tab_2_active == true ? Icons.ondemand_video: Icons.ondemand_video, 56 | icon_color: tab_2_active == true ? Colors.blue :icon_color, 57 | tab_color:tab_2_active == true ? Colors.blue : Colors.transparent, 58 | onpress: on_tab_2_clicked, 59 | ), 60 | NavItem( 61 | icon: tab_3_active == true ? MdiIcons.accountGroup :MdiIcons.accountGroupOutline, 62 | icon_color: tab_3_active == true ? Colors.blue :icon_color, 63 | tab_color:tab_3_active == true ? Colors.blue : Colors.transparent, 64 | onpress: on_tab_3_clicked, 65 | ), 66 | NavItem( 67 | icon: tab_3_active == true ? MdiIcons.gamepadCircleOutline :MdiIcons.gamepadCircle, 68 | icon_color: tab_4_active == true ? Colors.blue :icon_color, 69 | tab_color:tab_4_active == true ? Colors.blue : Colors.transparent, 70 | onpress: on_tab_4_clicked, 71 | ), 72 | 73 | Expanded(child: SizedBox()), 74 | 75 | ProfileImageComponent( 76 | height: 40, 77 | width: 40, 78 | image: "assets/images/profile_one.jpg", 79 | ), 80 | SizedBox(width: 10,), 81 | Text("Jake ", style: TextStyle(fontSize: 15, color: Colors.white, fontWeight: FontWeight.w700),), 82 | 83 | CircleIcon( 84 | icon: Icons.add, 85 | icon_color: color_1, 86 | onpress: on_add_clicked, 87 | ), 88 | CircleIcon( 89 | icon: FontAwesomeIcons.facebookMessenger, 90 | icon_color: color_2, 91 | onpress: on_messenger_Clicked, 92 | ), 93 | CircleIcon( 94 | icon: FontAwesomeIcons.solidBell, 95 | icon_color: color_3, 96 | onpress: on_notification_clicked, 97 | ), 98 | CircleIcon( 99 | icon: FontAwesomeIcons.angleDown, 100 | icon_color: color_4, 101 | onpress: on_profile_clicked, 102 | ) 103 | ], 104 | ), 105 | ), 106 | ); 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /lib/main_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:facebook_flutter_web/constants.dart'; 2 | import 'package:facebook_flutter_web/components/nav.dart'; 3 | import 'package:facebook_flutter_web/pages/page_home.dart'; 4 | import 'package:facebook_flutter_web/top_nav_dialog/nav_dialog_holder.dart'; 5 | import 'package:flutter/material.dart'; 6 | import 'package:facebook_flutter_web/top_nav_dialog/add_dialog.dart'; 7 | import 'package:facebook_flutter_web/top_nav_dialog/messenger_dialog.dart'; 8 | import 'package:facebook_flutter_web/top_nav_dialog/notification_dialog.dart'; 9 | import 'package:facebook_flutter_web/top_nav_dialog/profile_dialog.dart'; 10 | 11 | class MainPage extends StatefulWidget { 12 | MainPage({Key key}) : super(key: key); 13 | 14 | @override 15 | _MainPageState createState() => _MainPageState(); 16 | } 17 | 18 | class _MainPageState extends State { 19 | int index = 0; 20 | 21 | nav_items c = nav_items.close; 22 | nav_choices ct = nav_choices.none; 23 | tabs t = tabs.tab1; 24 | 25 | final PageStorageBucket _bucket = PageStorageBucket(); 26 | final List dialogs = [ 27 | AddDialog(), 28 | MessengerDialog(), 29 | NotificationDialog(), 30 | ProfileDialog(), 31 | ]; 32 | @override 33 | Widget build(BuildContext context) { 34 | double height = MediaQuery.of(context).size.height; 35 | double width = MediaQuery.of(context).size.width; 36 | return Scaffold( 37 | backgroundColor: background_color, 38 | body: GestureDetector( 39 | onTap: (){ 40 | setState(() { 41 | ct = nav_choices.none; 42 | c = nav_items.close; 43 | }); 44 | }, 45 | child: Container( 46 | child: Stack( 47 | children: [ 48 | 49 | Column( 50 | children: [ 51 | //This is the top bar in our facebook demo page 52 | Nav( 53 | color_1: ct == nav_choices.add ? Colors.blue : Colors.white, 54 | color_2: ct == nav_choices.messenger ? Colors.blue : icon_color, 55 | color_3: ct == nav_choices.notification ? Colors.blue : icon_color, 56 | color_4: ct == nav_choices.profile ? Colors.blue : icon_color, 57 | on_add_clicked: (){ 58 | setState(() { 59 | c = nav_items.open; 60 | ct = nav_choices.add; 61 | index = 0; 62 | }); 63 | }, 64 | on_messenger_Clicked: (){ 65 | setState(() { 66 | c = nav_items.open; 67 | ct = nav_choices.messenger; 68 | index = 1; 69 | }); 70 | }, 71 | on_notification_clicked: (){ 72 | setState(() { 73 | c = nav_items.open; 74 | ct = nav_choices.notification; 75 | index = 2; 76 | }); 77 | }, 78 | on_profile_clicked: (){ 79 | setState(() { 80 | c = nav_items.open; 81 | ct = nav_choices.profile; 82 | index =3; 83 | }); 84 | }, 85 | //Tabs active 86 | tab_1_active: t == tabs.tab1 ? true : false, 87 | tab_2_active: t == tabs.tab2 ? true : false, 88 | tab_3_active: t == tabs.tab3 ? true : false, 89 | tab_4_active: t == tabs.tab4 ? true : false, 90 | 91 | //Tans clicked 92 | on_tab_1_clicked: (){ 93 | print("clickes"); 94 | setState(() { 95 | t = tabs.tab1; 96 | }); 97 | }, 98 | on_tab_2_clicked: (){ 99 | setState(() { 100 | t = tabs.tab2; 101 | }); 102 | }, 103 | on_tab_3_clicked: (){ 104 | setState(() { 105 | t = tabs.tab3; 106 | }); 107 | }, 108 | on_tab_4_clicked: (){ 109 | setState(() { 110 | t = tabs.tab4; 111 | }); 112 | }, 113 | ), 114 | 115 | //The body 116 | Expanded( 117 | child: PageHome() 118 | ) 119 | ], 120 | ), 121 | Visibility( 122 | visible: c == nav_items.close ? false : true, 123 | child: NavDialogHolder( 124 | child: Column( 125 | children: [ 126 | PageStorage(bucket: _bucket, child: dialogs[index]), 127 | ], 128 | ) 129 | ), 130 | ), 131 | ], 132 | ), 133 | ), 134 | ), 135 | ); 136 | } 137 | } 138 | 139 | enum nav_items { 140 | open, 141 | close 142 | } 143 | 144 | enum nav_choices { 145 | add, 146 | messenger, 147 | notification, 148 | profile, 149 | none 150 | } 151 | 152 | enum tabs { 153 | tab1, 154 | tab2, 155 | tab3, 156 | tab4 157 | } 158 | 159 | 160 | -------------------------------------------------------------------------------- /lib/top_nav_dialog/profile_dialog.dart: -------------------------------------------------------------------------------- 1 | import 'dart:html'; 2 | 3 | import 'package:facebook_flutter_web/components/circle_icon.dart'; 4 | import 'package:facebook_flutter_web/components/line.dart'; 5 | import 'package:facebook_flutter_web/constants.dart'; 6 | import 'package:feather_icons_flutter/feather_icons_flutter.dart'; 7 | import 'package:flutter/cupertino.dart'; 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter/rendering.dart'; 10 | 11 | class ProfileDialog extends StatelessWidget { 12 | @override 13 | Widget build(BuildContext context) { 14 | return Padding( 15 | padding: const EdgeInsets.only(left:12.0, right: 12), 16 | child: Column( 17 | children: [ 18 | SizedBox(height: 20,), 19 | Row( 20 | children: [ 21 | Padding( 22 | padding: const EdgeInsets.all(8.0), 23 | child: Container( 24 | height: 60, 25 | width: 60, 26 | decoration: BoxDecoration( 27 | image: DecorationImage(image: AssetImage("assets/images/profile_one.jpg"), fit: BoxFit.cover), 28 | shape: BoxShape.circle 29 | ), 30 | ), 31 | ), 32 | Column( 33 | crossAxisAlignment: CrossAxisAlignment.start, 34 | mainAxisAlignment: MainAxisAlignment.start, 35 | children: [ 36 | Text("Jake Killington", style: TextStyle(color: Colors.white, fontSize: 18, fontWeight: FontWeight.w600),), 37 | Text("See your profile", style: TextStyle(color: Colors.white, fontSize: 12, fontWeight: FontWeight.w300),) 38 | 39 | ], 40 | ), 41 | 42 | ], 43 | ), 44 | SizedBox(height: 10,), 45 | Line(), 46 | SizedBox(height: 20,), 47 | Container( 48 | child: Row( 49 | children: [ 50 | CircleIcon( 51 | icon: Icons.feedback, 52 | icon_color: icon_color, 53 | ), 54 | SizedBox(width: 10,), 55 | Column( 56 | crossAxisAlignment: CrossAxisAlignment.start, 57 | mainAxisAlignment: MainAxisAlignment.start, 58 | children: [ 59 | Text("Give Feedback", style: TextStyle(color: Colors.white, fontSize: 17, fontWeight: FontWeight.w300),), 60 | Text("Help us improve the new facebook", style: TextStyle(color: Colors.grey[400], fontSize: 12),) 61 | 62 | ], 63 | ) 64 | ], 65 | ), 66 | ), 67 | SizedBox(height: 20,), 68 | Line(), 69 | SizedBox(height: 10,), 70 | Container( 71 | child: Row( 72 | children: [ 73 | CircleIcon( 74 | icon: Icons.settings, 75 | icon_color: icon_color, 76 | ), 77 | SizedBox(width: 10,), 78 | Text("Settings and Privacy", style: TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w300),), 79 | Expanded(child: SizedBox()), 80 | Padding( 81 | padding: const EdgeInsets.all(8.0), 82 | child: Icon(FeatherIcons.chevronRight, color: icon_color,size: 35,), 83 | ) 84 | ], 85 | ), 86 | ), 87 | SizedBox(height: 10,), 88 | Container( 89 | child: Row( 90 | children: [ 91 | CircleIcon( 92 | icon: Icons.help, 93 | icon_color: icon_color, 94 | ), 95 | SizedBox(width: 10,), 96 | Text("Help and Support", style: TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w300),), 97 | Expanded(child: SizedBox()), 98 | Padding( 99 | padding: const EdgeInsets.all(8.0), 100 | child: Icon(FeatherIcons.chevronRight, color: icon_color,size: 35,), 101 | ) 102 | ], 103 | ), 104 | ), 105 | SizedBox(height: 10,), 106 | Container( 107 | child: Row( 108 | children: [ 109 | CircleIcon( 110 | icon: Icons.feedback, 111 | icon_color: icon_color, 112 | ), 113 | SizedBox(width: 10,), 114 | Text("Dark Mode", style: TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w300),), 115 | Expanded(child: SizedBox()), 116 | Padding( 117 | padding: const EdgeInsets.all(8.0), 118 | child: CupertinoSwitch( 119 | activeColor: Colors.blue, 120 | trackColor: icon_color, 121 | value: true, onChanged: null) 122 | ) 123 | ], 124 | ), 125 | ), 126 | SizedBox(height: 10,), 127 | Container( 128 | child: Row( 129 | children: [ 130 | CircleIcon( 131 | icon: Icons.arrow_back_ios, 132 | icon_color: icon_color, 133 | ), 134 | SizedBox(width: 10,), 135 | Column( 136 | crossAxisAlignment: CrossAxisAlignment.start, 137 | mainAxisAlignment: MainAxisAlignment.start, 138 | children: [ 139 | Text("Switch back to facebook classic", style: TextStyle(color: Colors.white, fontSize: 17, fontWeight: FontWeight.w300),), 140 | Text("Go to the previous facebook design", style: TextStyle(color: Colors.grey[500], fontSize: 12),) 141 | 142 | ], 143 | ) 144 | ], 145 | ), 146 | ), 147 | SizedBox(height: 20,), 148 | Container( 149 | child: Row( 150 | children: [ 151 | CircleIcon( 152 | icon: Icons.exit_to_app, 153 | icon_color: icon_color, 154 | ), 155 | SizedBox(width: 10,), 156 | Text("Log out", style: TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w300),), 157 | Expanded(child: SizedBox()), 158 | 159 | ], 160 | ), 161 | ), 162 | SizedBox(height: 20,), 163 | 164 | ], 165 | ), 166 | ); 167 | } 168 | } 169 | -------------------------------------------------------------------------------- /lib/pages/page_home.dart: -------------------------------------------------------------------------------- 1 | import 'package:amazingneoicons/amazingneoicons.dart'; 2 | import 'package:facebook_flutter_web/components/home_components/post_component.dart'; 3 | import 'package:facebook_flutter_web/components/line.dart'; 4 | import 'package:facebook_flutter_web/components/post_components/post_widget.dart'; 5 | import 'package:facebook_flutter_web/components/profile_image_component.dart'; 6 | import 'package:facebook_flutter_web/components/sponsored_list.dart'; 7 | import 'package:facebook_flutter_web/components/story_component/story_widget.dart'; 8 | import 'package:facebook_flutter_web/constants.dart'; 9 | import 'package:feather_icons_flutter/feather_icons_flutter.dart'; 10 | import 'package:flutter/material.dart'; 11 | import 'package:flutter/painting.dart'; 12 | import 'package:font_awesome_flutter/font_awesome_flutter.dart'; 13 | import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; 14 | 15 | class PageHome extends StatefulWidget { 16 | @override 17 | _PageHomeState createState() => _PageHomeState(); 18 | } 19 | 20 | class _PageHomeState extends State { 21 | @override 22 | Widget build(BuildContext context) { 23 | double height = MediaQuery.of(context).size.height; 24 | return Scaffold( 25 | backgroundColor: background_color, 26 | body: Row( 27 | children: [ 28 | /* 29 | * Middle page side bar 30 | * */ 31 | Padding( 32 | padding: const EdgeInsets.all(20.0), 33 | child: Container( 34 | height: height, 35 | width: 300, 36 | color: background_color, 37 | child: Column( 38 | children: [ 39 | Row( 40 | children: [ 41 | ProfileImageComponent( 42 | height: 40, 43 | width: 40, 44 | image: "assets/images/profile_one.jpg", 45 | ), 46 | Padding( 47 | padding: const EdgeInsets.all(8.0), 48 | child: Text("Jakes",style: TextStyle(color: Colors.white, fontWeight: FontWeight.w300),), 49 | ) 50 | ], 51 | ) 52 | ], 53 | ), 54 | ), 55 | ), 56 | 57 | Expanded(child:SizedBox()), 58 | /* 59 | * Middle page side bar 60 | * */ 61 | 62 | Padding( 63 | padding: const EdgeInsets.only(top :8.0,left: 8,right: 8), 64 | child: Container( 65 | height: height, 66 | width: 600, 67 | color: background_color, 68 | child: SingleChildScrollView( 69 | child: Column( 70 | mainAxisAlignment: MainAxisAlignment.center, 71 | crossAxisAlignment: CrossAxisAlignment.center, 72 | children: [ 73 | StoryWidget(), 74 | SizedBox(height: 30,), 75 | PostComponent(), 76 | PostWidget() 77 | ], 78 | ), 79 | ), 80 | ), 81 | ), 82 | 83 | Expanded(child:SizedBox()), 84 | 85 | /* 86 | * Left side bar 87 | * */ 88 | Container( 89 | height: height, 90 | width:300, 91 | color: background_color, 92 | child: Padding( 93 | padding: const EdgeInsets.all(8.0), 94 | child: Column( 95 | crossAxisAlignment: CrossAxisAlignment.start, 96 | mainAxisAlignment: MainAxisAlignment.start, 97 | children: [ 98 | SizedBox(height: 10,), 99 | Text("Sponsored", style: TextStyle(color: icon_color, fontSize: 16, fontWeight: FontWeight.w800),), 100 | SizedBox(height: 15,), 101 | 102 | SponsoredList( 103 | image: "assets/images/profile_two.jpg", 104 | title: "Welcome to Kenya, visit the kings", 105 | sub: "www.kenya.co.ke", 106 | ), 107 | SponsoredList( 108 | image: "assets/images/profile_one.jpg", 109 | title: "King Photos - Became a star", 110 | sub: "www.king_photos.co.ke", 111 | ), 112 | SizedBox(height: 10,), 113 | Text("Your Pages", style: TextStyle(color: icon_color, fontSize: 16, fontWeight: FontWeight.w800),), 114 | SizedBox(height: 20,), 115 | Row( 116 | crossAxisAlignment: CrossAxisAlignment.center, 117 | mainAxisAlignment: MainAxisAlignment.start, 118 | children: [ 119 | ProfileImageComponent( 120 | height: 40, 121 | width: 40, 122 | image: "assets/images/profile_one.jpg", 123 | ), 124 | SizedBox(width: 10,), 125 | Text("King Photos",style: TextStyle(color: Colors.white, fontSize: 14, fontWeight: FontWeight.w300),) 126 | ], 127 | ), 128 | SizedBox(height: 10,), 129 | 130 | Column( 131 | children: [ 132 | Padding( 133 | padding: const EdgeInsets.all(8.0), 134 | child: Row( 135 | children: [ 136 | Icon(FeatherIcons.messageCircle, color: icon_color, size: 15,), 137 | SizedBox(width: 10,), 138 | Text("2+ messages",style: TextStyle(color: Colors.white, fontSize: 10, fontWeight: FontWeight.w400),) 139 | ], 140 | ), 141 | ), 142 | Padding( 143 | padding: const EdgeInsets.all(8.0), 144 | child: Row( 145 | children: [ 146 | Icon(FeatherIcons.bell, color: icon_color, size: 15,), 147 | SizedBox(width: 10,), 148 | Text("20+ notifications",style: TextStyle(color: Colors.white, fontSize: 10, fontWeight: FontWeight.w400,),) 149 | ], 150 | ), 151 | ), 152 | Padding( 153 | padding: const EdgeInsets.all(8.0), 154 | child: Row( 155 | children: [ 156 | Icon(FontAwesomeIcons.bullhorn, color: icon_color, size: 15,), 157 | SizedBox(width: 10,), 158 | Text("20+ notifications",style: TextStyle(color: Colors.white, fontSize: 10, fontWeight: FontWeight.w400),) 159 | ], 160 | ), 161 | ) 162 | ], 163 | ) 164 | ], 165 | ), 166 | ), 167 | ), 168 | ], 169 | ), 170 | ); 171 | } 172 | } 173 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | amazingneoicons: 5 | dependency: "direct main" 6 | description: 7 | name: amazingneoicons 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "0.0.3" 11 | async: 12 | dependency: transitive 13 | description: 14 | name: async 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "2.4.1" 18 | boolean_selector: 19 | dependency: transitive 20 | description: 21 | name: boolean_selector 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.0.0" 25 | charcode: 26 | dependency: transitive 27 | description: 28 | name: charcode 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.1.3" 32 | clock: 33 | dependency: transitive 34 | description: 35 | name: clock 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.0.1" 39 | collection: 40 | dependency: transitive 41 | description: 42 | name: collection 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.14.12" 46 | convert: 47 | dependency: transitive 48 | description: 49 | name: convert 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "2.1.1" 53 | crypto: 54 | dependency: transitive 55 | description: 56 | name: crypto 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "2.1.5" 60 | cupertino_icons: 61 | dependency: "direct main" 62 | description: 63 | name: cupertino_icons 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "0.1.3" 67 | fake_async: 68 | dependency: transitive 69 | description: 70 | name: fake_async 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.1.0" 74 | feather_icons_flutter: 75 | dependency: "direct main" 76 | description: 77 | name: feather_icons_flutter 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "4.7.4" 81 | file: 82 | dependency: transitive 83 | description: 84 | name: file 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "5.2.1" 88 | flutter: 89 | dependency: "direct main" 90 | description: flutter 91 | source: sdk 92 | version: "0.0.0" 93 | flutter_test: 94 | dependency: "direct dev" 95 | description: flutter 96 | source: sdk 97 | version: "0.0.0" 98 | font_awesome_flutter: 99 | dependency: "direct main" 100 | description: 101 | name: font_awesome_flutter 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "8.8.1" 105 | google_fonts: 106 | dependency: "direct main" 107 | description: 108 | name: google_fonts 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "1.1.0" 112 | http: 113 | dependency: transitive 114 | description: 115 | name: http 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "0.12.1" 119 | http_parser: 120 | dependency: transitive 121 | description: 122 | name: http_parser 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "3.1.4" 126 | intl: 127 | dependency: transitive 128 | description: 129 | name: intl 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "0.16.1" 133 | matcher: 134 | dependency: transitive 135 | description: 136 | name: matcher 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "0.12.6" 140 | material_design_icons_flutter: 141 | dependency: "direct main" 142 | description: 143 | name: material_design_icons_flutter 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "4.0.5345" 147 | meta: 148 | dependency: transitive 149 | description: 150 | name: meta 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "1.1.8" 154 | path: 155 | dependency: transitive 156 | description: 157 | name: path 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "1.7.0" 161 | path_provider: 162 | dependency: "direct main" 163 | description: 164 | name: path_provider 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "1.6.11" 168 | path_provider_linux: 169 | dependency: transitive 170 | description: 171 | name: path_provider_linux 172 | url: "https://pub.dartlang.org" 173 | source: hosted 174 | version: "0.0.1+2" 175 | path_provider_macos: 176 | dependency: transitive 177 | description: 178 | name: path_provider_macos 179 | url: "https://pub.dartlang.org" 180 | source: hosted 181 | version: "0.0.4+3" 182 | path_provider_platform_interface: 183 | dependency: transitive 184 | description: 185 | name: path_provider_platform_interface 186 | url: "https://pub.dartlang.org" 187 | source: hosted 188 | version: "1.0.2" 189 | pedantic: 190 | dependency: transitive 191 | description: 192 | name: pedantic 193 | url: "https://pub.dartlang.org" 194 | source: hosted 195 | version: "1.9.0" 196 | platform: 197 | dependency: transitive 198 | description: 199 | name: platform 200 | url: "https://pub.dartlang.org" 201 | source: hosted 202 | version: "2.2.1" 203 | plugin_platform_interface: 204 | dependency: transitive 205 | description: 206 | name: plugin_platform_interface 207 | url: "https://pub.dartlang.org" 208 | source: hosted 209 | version: "1.0.2" 210 | process: 211 | dependency: transitive 212 | description: 213 | name: process 214 | url: "https://pub.dartlang.org" 215 | source: hosted 216 | version: "3.0.13" 217 | sky_engine: 218 | dependency: transitive 219 | description: flutter 220 | source: sdk 221 | version: "0.0.99" 222 | source_span: 223 | dependency: transitive 224 | description: 225 | name: source_span 226 | url: "https://pub.dartlang.org" 227 | source: hosted 228 | version: "1.7.0" 229 | stack_trace: 230 | dependency: transitive 231 | description: 232 | name: stack_trace 233 | url: "https://pub.dartlang.org" 234 | source: hosted 235 | version: "1.9.3" 236 | stream_channel: 237 | dependency: transitive 238 | description: 239 | name: stream_channel 240 | url: "https://pub.dartlang.org" 241 | source: hosted 242 | version: "2.0.0" 243 | string_scanner: 244 | dependency: transitive 245 | description: 246 | name: string_scanner 247 | url: "https://pub.dartlang.org" 248 | source: hosted 249 | version: "1.0.5" 250 | term_glyph: 251 | dependency: transitive 252 | description: 253 | name: term_glyph 254 | url: "https://pub.dartlang.org" 255 | source: hosted 256 | version: "1.1.0" 257 | test_api: 258 | dependency: transitive 259 | description: 260 | name: test_api 261 | url: "https://pub.dartlang.org" 262 | source: hosted 263 | version: "0.2.16" 264 | typed_data: 265 | dependency: transitive 266 | description: 267 | name: typed_data 268 | url: "https://pub.dartlang.org" 269 | source: hosted 270 | version: "1.1.6" 271 | vector_math: 272 | dependency: transitive 273 | description: 274 | name: vector_math 275 | url: "https://pub.dartlang.org" 276 | source: hosted 277 | version: "2.0.8" 278 | xdg_directories: 279 | dependency: transitive 280 | description: 281 | name: xdg_directories 282 | url: "https://pub.dartlang.org" 283 | source: hosted 284 | version: "0.1.0" 285 | sdks: 286 | dart: ">=2.7.0 <3.0.0" 287 | flutter: ">=1.17.0 <2.0.0" 288 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 13 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 35 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 36 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 37 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 38 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 39 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 40 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 41 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 43 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 44 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 45 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 46 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | /* End PBXFileReference section */ 48 | 49 | /* Begin PBXFrameworksBuildPhase section */ 50 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 51 | isa = PBXFrameworksBuildPhase; 52 | buildActionMask = 2147483647; 53 | files = ( 54 | ); 55 | runOnlyForDeploymentPostprocessing = 0; 56 | }; 57 | /* End PBXFrameworksBuildPhase section */ 58 | 59 | /* Begin PBXGroup section */ 60 | 9740EEB11CF90186004384FC /* Flutter */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 64 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 65 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 66 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 67 | ); 68 | name = Flutter; 69 | sourceTree = ""; 70 | }; 71 | 97C146E51CF9000F007C117D = { 72 | isa = PBXGroup; 73 | children = ( 74 | 9740EEB11CF90186004384FC /* Flutter */, 75 | 97C146F01CF9000F007C117D /* Runner */, 76 | 97C146EF1CF9000F007C117D /* Products */, 77 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 78 | ); 79 | sourceTree = ""; 80 | }; 81 | 97C146EF1CF9000F007C117D /* Products */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 97C146EE1CF9000F007C117D /* Runner.app */, 85 | ); 86 | name = Products; 87 | sourceTree = ""; 88 | }; 89 | 97C146F01CF9000F007C117D /* Runner */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 93 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 94 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 95 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 96 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 97 | 97C147021CF9000F007C117D /* Info.plist */, 98 | 97C146F11CF9000F007C117D /* Supporting Files */, 99 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 100 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 101 | ); 102 | path = Runner; 103 | sourceTree = ""; 104 | }; 105 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 97C146F21CF9000F007C117D /* main.m */, 109 | ); 110 | name = "Supporting Files"; 111 | sourceTree = ""; 112 | }; 113 | /* End PBXGroup section */ 114 | 115 | /* Begin PBXNativeTarget section */ 116 | 97C146ED1CF9000F007C117D /* Runner */ = { 117 | isa = PBXNativeTarget; 118 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 119 | buildPhases = ( 120 | 9740EEB61CF901F6004384FC /* Run Script */, 121 | 97C146EA1CF9000F007C117D /* Sources */, 122 | 97C146EB1CF9000F007C117D /* Frameworks */, 123 | 97C146EC1CF9000F007C117D /* Resources */, 124 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 125 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 126 | ); 127 | buildRules = ( 128 | ); 129 | dependencies = ( 130 | ); 131 | name = Runner; 132 | productName = Runner; 133 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 134 | productType = "com.apple.product-type.application"; 135 | }; 136 | /* End PBXNativeTarget section */ 137 | 138 | /* Begin PBXProject section */ 139 | 97C146E61CF9000F007C117D /* Project object */ = { 140 | isa = PBXProject; 141 | attributes = { 142 | LastUpgradeCheck = 1020; 143 | ORGANIZATIONNAME = ""; 144 | TargetAttributes = { 145 | 97C146ED1CF9000F007C117D = { 146 | CreatedOnToolsVersion = 7.3.1; 147 | }; 148 | }; 149 | }; 150 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 151 | compatibilityVersion = "Xcode 9.3"; 152 | developmentRegion = en; 153 | hasScannedForEncodings = 0; 154 | knownRegions = ( 155 | en, 156 | Base, 157 | ); 158 | mainGroup = 97C146E51CF9000F007C117D; 159 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 160 | projectDirPath = ""; 161 | projectRoot = ""; 162 | targets = ( 163 | 97C146ED1CF9000F007C117D /* Runner */, 164 | ); 165 | }; 166 | /* End PBXProject section */ 167 | 168 | /* Begin PBXResourcesBuildPhase section */ 169 | 97C146EC1CF9000F007C117D /* Resources */ = { 170 | isa = PBXResourcesBuildPhase; 171 | buildActionMask = 2147483647; 172 | files = ( 173 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 174 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 175 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 176 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 177 | ); 178 | runOnlyForDeploymentPostprocessing = 0; 179 | }; 180 | /* End PBXResourcesBuildPhase section */ 181 | 182 | /* Begin PBXShellScriptBuildPhase section */ 183 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 184 | isa = PBXShellScriptBuildPhase; 185 | buildActionMask = 2147483647; 186 | files = ( 187 | ); 188 | inputPaths = ( 189 | ); 190 | name = "Thin Binary"; 191 | outputPaths = ( 192 | ); 193 | runOnlyForDeploymentPostprocessing = 0; 194 | shellPath = /bin/sh; 195 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 196 | }; 197 | 9740EEB61CF901F6004384FC /* Run Script */ = { 198 | isa = PBXShellScriptBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | ); 202 | inputPaths = ( 203 | ); 204 | name = "Run Script"; 205 | outputPaths = ( 206 | ); 207 | runOnlyForDeploymentPostprocessing = 0; 208 | shellPath = /bin/sh; 209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 210 | }; 211 | /* End PBXShellScriptBuildPhase section */ 212 | 213 | /* Begin PBXSourcesBuildPhase section */ 214 | 97C146EA1CF9000F007C117D /* Sources */ = { 215 | isa = PBXSourcesBuildPhase; 216 | buildActionMask = 2147483647; 217 | files = ( 218 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 219 | 97C146F31CF9000F007C117D /* main.m in Sources */, 220 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 221 | ); 222 | runOnlyForDeploymentPostprocessing = 0; 223 | }; 224 | /* End PBXSourcesBuildPhase section */ 225 | 226 | /* Begin PBXVariantGroup section */ 227 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 228 | isa = PBXVariantGroup; 229 | children = ( 230 | 97C146FB1CF9000F007C117D /* Base */, 231 | ); 232 | name = Main.storyboard; 233 | sourceTree = ""; 234 | }; 235 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 236 | isa = PBXVariantGroup; 237 | children = ( 238 | 97C147001CF9000F007C117D /* Base */, 239 | ); 240 | name = LaunchScreen.storyboard; 241 | sourceTree = ""; 242 | }; 243 | /* End PBXVariantGroup section */ 244 | 245 | /* Begin XCBuildConfiguration section */ 246 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 247 | isa = XCBuildConfiguration; 248 | buildSettings = { 249 | ALWAYS_SEARCH_USER_PATHS = NO; 250 | CLANG_ANALYZER_NONNULL = YES; 251 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 252 | CLANG_CXX_LIBRARY = "libc++"; 253 | CLANG_ENABLE_MODULES = YES; 254 | CLANG_ENABLE_OBJC_ARC = YES; 255 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 256 | CLANG_WARN_BOOL_CONVERSION = YES; 257 | CLANG_WARN_COMMA = YES; 258 | CLANG_WARN_CONSTANT_CONVERSION = YES; 259 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 260 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 261 | CLANG_WARN_EMPTY_BODY = YES; 262 | CLANG_WARN_ENUM_CONVERSION = YES; 263 | CLANG_WARN_INFINITE_RECURSION = YES; 264 | CLANG_WARN_INT_CONVERSION = YES; 265 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 266 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 267 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 268 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 269 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 270 | CLANG_WARN_STRICT_PROTOTYPES = YES; 271 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 272 | CLANG_WARN_UNREACHABLE_CODE = YES; 273 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 274 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 275 | COPY_PHASE_STRIP = NO; 276 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 277 | ENABLE_NS_ASSERTIONS = NO; 278 | ENABLE_STRICT_OBJC_MSGSEND = YES; 279 | GCC_C_LANGUAGE_STANDARD = gnu99; 280 | GCC_NO_COMMON_BLOCKS = YES; 281 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 282 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 283 | GCC_WARN_UNDECLARED_SELECTOR = YES; 284 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 285 | GCC_WARN_UNUSED_FUNCTION = YES; 286 | GCC_WARN_UNUSED_VARIABLE = YES; 287 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 288 | MTL_ENABLE_DEBUG_INFO = NO; 289 | SDKROOT = iphoneos; 290 | SUPPORTED_PLATFORMS = iphoneos; 291 | TARGETED_DEVICE_FAMILY = "1,2"; 292 | VALIDATE_PRODUCT = YES; 293 | }; 294 | name = Profile; 295 | }; 296 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 297 | isa = XCBuildConfiguration; 298 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 299 | buildSettings = { 300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 301 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 302 | ENABLE_BITCODE = NO; 303 | FRAMEWORK_SEARCH_PATHS = ( 304 | "$(inherited)", 305 | "$(PROJECT_DIR)/Flutter", 306 | ); 307 | INFOPLIST_FILE = Runner/Info.plist; 308 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 309 | LIBRARY_SEARCH_PATHS = ( 310 | "$(inherited)", 311 | "$(PROJECT_DIR)/Flutter", 312 | ); 313 | PRODUCT_BUNDLE_IDENTIFIER = com.example.facebookFlutterWeb; 314 | PRODUCT_NAME = "$(TARGET_NAME)"; 315 | VERSIONING_SYSTEM = "apple-generic"; 316 | }; 317 | name = Profile; 318 | }; 319 | 97C147031CF9000F007C117D /* Debug */ = { 320 | isa = XCBuildConfiguration; 321 | buildSettings = { 322 | ALWAYS_SEARCH_USER_PATHS = NO; 323 | CLANG_ANALYZER_NONNULL = YES; 324 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 325 | CLANG_CXX_LIBRARY = "libc++"; 326 | CLANG_ENABLE_MODULES = YES; 327 | CLANG_ENABLE_OBJC_ARC = YES; 328 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 329 | CLANG_WARN_BOOL_CONVERSION = YES; 330 | CLANG_WARN_COMMA = YES; 331 | CLANG_WARN_CONSTANT_CONVERSION = YES; 332 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 333 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 334 | CLANG_WARN_EMPTY_BODY = YES; 335 | CLANG_WARN_ENUM_CONVERSION = YES; 336 | CLANG_WARN_INFINITE_RECURSION = YES; 337 | CLANG_WARN_INT_CONVERSION = YES; 338 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 339 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 340 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 342 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 343 | CLANG_WARN_STRICT_PROTOTYPES = YES; 344 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 345 | CLANG_WARN_UNREACHABLE_CODE = YES; 346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 348 | COPY_PHASE_STRIP = NO; 349 | DEBUG_INFORMATION_FORMAT = dwarf; 350 | ENABLE_STRICT_OBJC_MSGSEND = YES; 351 | ENABLE_TESTABILITY = YES; 352 | GCC_C_LANGUAGE_STANDARD = gnu99; 353 | GCC_DYNAMIC_NO_PIC = NO; 354 | GCC_NO_COMMON_BLOCKS = YES; 355 | GCC_OPTIMIZATION_LEVEL = 0; 356 | GCC_PREPROCESSOR_DEFINITIONS = ( 357 | "DEBUG=1", 358 | "$(inherited)", 359 | ); 360 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 361 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 362 | GCC_WARN_UNDECLARED_SELECTOR = YES; 363 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 364 | GCC_WARN_UNUSED_FUNCTION = YES; 365 | GCC_WARN_UNUSED_VARIABLE = YES; 366 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 367 | MTL_ENABLE_DEBUG_INFO = YES; 368 | ONLY_ACTIVE_ARCH = YES; 369 | SDKROOT = iphoneos; 370 | TARGETED_DEVICE_FAMILY = "1,2"; 371 | }; 372 | name = Debug; 373 | }; 374 | 97C147041CF9000F007C117D /* Release */ = { 375 | isa = XCBuildConfiguration; 376 | buildSettings = { 377 | ALWAYS_SEARCH_USER_PATHS = NO; 378 | CLANG_ANALYZER_NONNULL = YES; 379 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 380 | CLANG_CXX_LIBRARY = "libc++"; 381 | CLANG_ENABLE_MODULES = YES; 382 | CLANG_ENABLE_OBJC_ARC = YES; 383 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 384 | CLANG_WARN_BOOL_CONVERSION = YES; 385 | CLANG_WARN_COMMA = YES; 386 | CLANG_WARN_CONSTANT_CONVERSION = YES; 387 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 388 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 389 | CLANG_WARN_EMPTY_BODY = YES; 390 | CLANG_WARN_ENUM_CONVERSION = YES; 391 | CLANG_WARN_INFINITE_RECURSION = YES; 392 | CLANG_WARN_INT_CONVERSION = YES; 393 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 394 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 395 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 396 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 397 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 398 | CLANG_WARN_STRICT_PROTOTYPES = YES; 399 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 400 | CLANG_WARN_UNREACHABLE_CODE = YES; 401 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 402 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 403 | COPY_PHASE_STRIP = NO; 404 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 405 | ENABLE_NS_ASSERTIONS = NO; 406 | ENABLE_STRICT_OBJC_MSGSEND = YES; 407 | GCC_C_LANGUAGE_STANDARD = gnu99; 408 | GCC_NO_COMMON_BLOCKS = YES; 409 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 410 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 411 | GCC_WARN_UNDECLARED_SELECTOR = YES; 412 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 413 | GCC_WARN_UNUSED_FUNCTION = YES; 414 | GCC_WARN_UNUSED_VARIABLE = YES; 415 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 416 | MTL_ENABLE_DEBUG_INFO = NO; 417 | SDKROOT = iphoneos; 418 | SUPPORTED_PLATFORMS = iphoneos; 419 | TARGETED_DEVICE_FAMILY = "1,2"; 420 | VALIDATE_PRODUCT = YES; 421 | }; 422 | name = Release; 423 | }; 424 | 97C147061CF9000F007C117D /* Debug */ = { 425 | isa = XCBuildConfiguration; 426 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 427 | buildSettings = { 428 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 429 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 430 | ENABLE_BITCODE = NO; 431 | FRAMEWORK_SEARCH_PATHS = ( 432 | "$(inherited)", 433 | "$(PROJECT_DIR)/Flutter", 434 | ); 435 | INFOPLIST_FILE = Runner/Info.plist; 436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 437 | LIBRARY_SEARCH_PATHS = ( 438 | "$(inherited)", 439 | "$(PROJECT_DIR)/Flutter", 440 | ); 441 | PRODUCT_BUNDLE_IDENTIFIER = com.example.facebookFlutterWeb; 442 | PRODUCT_NAME = "$(TARGET_NAME)"; 443 | VERSIONING_SYSTEM = "apple-generic"; 444 | }; 445 | name = Debug; 446 | }; 447 | 97C147071CF9000F007C117D /* Release */ = { 448 | isa = XCBuildConfiguration; 449 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 450 | buildSettings = { 451 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 452 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 453 | ENABLE_BITCODE = NO; 454 | FRAMEWORK_SEARCH_PATHS = ( 455 | "$(inherited)", 456 | "$(PROJECT_DIR)/Flutter", 457 | ); 458 | INFOPLIST_FILE = Runner/Info.plist; 459 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 460 | LIBRARY_SEARCH_PATHS = ( 461 | "$(inherited)", 462 | "$(PROJECT_DIR)/Flutter", 463 | ); 464 | PRODUCT_BUNDLE_IDENTIFIER = com.example.facebookFlutterWeb; 465 | PRODUCT_NAME = "$(TARGET_NAME)"; 466 | VERSIONING_SYSTEM = "apple-generic"; 467 | }; 468 | name = Release; 469 | }; 470 | /* End XCBuildConfiguration section */ 471 | 472 | /* Begin XCConfigurationList section */ 473 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 474 | isa = XCConfigurationList; 475 | buildConfigurations = ( 476 | 97C147031CF9000F007C117D /* Debug */, 477 | 97C147041CF9000F007C117D /* Release */, 478 | 249021D3217E4FDB00AE95B9 /* Profile */, 479 | ); 480 | defaultConfigurationIsVisible = 0; 481 | defaultConfigurationName = Release; 482 | }; 483 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 97C147061CF9000F007C117D /* Debug */, 487 | 97C147071CF9000F007C117D /* Release */, 488 | 249021D4217E4FDB00AE95B9 /* Profile */, 489 | ); 490 | defaultConfigurationIsVisible = 0; 491 | defaultConfigurationName = Release; 492 | }; 493 | /* End XCConfigurationList section */ 494 | }; 495 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 496 | } 497 | --------------------------------------------------------------------------------