├── .gitignore ├── .metadata ├── .vscode └── settings.json ├── Image ├── audio.mp3 ├── coffee-shop-image │ ├── Caffe_Mocha.png │ ├── Caramel_Macchiato.png │ ├── LoginCoffee.png │ ├── affogato.png │ ├── cafe_cubano.png │ ├── cappuccino.png │ ├── cortado.png │ ├── espresso.png │ ├── logo.png │ ├── menu.png │ ├── shope_logo.png │ └── turkish_Coffee.png ├── ecommerce-image │ ├── chair-1.png │ ├── chair-2.png │ ├── cupboard-1.jpg │ ├── cupboard2.png │ ├── menu.svg │ ├── sofa1.png │ ├── sofa2.png │ ├── table1.png │ └── table2.png ├── house-rent │ ├── icon1.png │ ├── icon2.png │ ├── icon3.png │ ├── icon4.png │ ├── image1.jpg │ ├── image11.jpg │ ├── image2.jpg │ ├── image22.jpg │ ├── image3.jpg │ ├── image4.jpg │ ├── image5.jpg │ ├── image6.jpg │ ├── image7.jpg │ ├── image8.jpg │ └── image9.jpg ├── image1.png ├── image2.png ├── image3.png ├── img │ ├── balloon2.png │ ├── beer.png │ ├── blue-ball.png │ ├── bottle.png │ ├── cocacola.png │ ├── earth.png │ ├── green nature.png │ ├── ideas.png │ ├── image1.png │ ├── image2.png │ ├── image3.png │ ├── image4.png │ ├── image5.png │ ├── image_01.png │ ├── image_02.jpg │ ├── image_03.jpg │ ├── image_04.jpg │ ├── jupiter.png │ ├── logo.png │ ├── mars.png │ ├── menu.png │ ├── menu_icon.png │ ├── mercury.png │ ├── mountain.png │ ├── mylogo.png │ ├── neptune.png │ ├── nikelogo.png │ ├── redbull.png │ ├── saturn.png │ ├── sea.png │ ├── shoe.png │ ├── sprite.png │ ├── sun.png │ ├── uranus.png │ ├── venus.png │ ├── water.png │ └── way.png ├── light.png ├── menu.png ├── plant-image │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ └── 6.png ├── portfolio-image │ ├── chat.png │ ├── ecommerce.png │ ├── news.png │ ├── quiz.png │ ├── tmdb.png │ └── weather.png ├── source.png └── surce1.png ├── README.md ├── analysis_options.yaml ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── flutter_example │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── 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 │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── audio │ └── audio1.mp3 ├── blogs │ ├── colors.jpg │ ├── ikigai.jpg │ ├── leader.jpg │ ├── minimal.jpg │ ├── profile.jpg │ ├── writing_1.jpg │ ├── writing_2.jpg │ └── writing_3.jpg ├── complete-app │ ├── category │ │ ├── burger.png │ │ ├── pancake.png │ │ ├── ramen.png │ │ └── salad.png │ ├── items │ │ ├── fullset_ramen.png │ │ ├── hakata_ramen.png │ │ ├── kurume_ramen.png │ │ ├── sapporo_miso_ramen.png │ │ └── shrimp_fried_rice.png │ └── onboard │ │ ├── onboard_1.png │ │ ├── onboard_2.png │ │ └── onboard_3.png ├── facilities │ ├── bed.png │ ├── food.png │ ├── hammock.png │ ├── music.png │ ├── sleeping-bag.png │ ├── t-shirt.png │ ├── tent.png │ ├── tub.png │ └── wifi.png ├── furniture-image │ ├── 0.jpg │ ├── 1.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 12.jpg │ ├── 13.jpg │ ├── 2.jpg │ ├── 22.jpg │ ├── 3.jpg │ ├── 33.jpg │ ├── 4.jpg │ ├── 44.jpg │ ├── 5.jpg │ ├── 55.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ ├── 9.jpg │ ├── menu-icon.png │ └── search.png ├── icons │ ├── twitter-alert-6.svg │ ├── twitter-analytics.svg │ ├── twitter-home.svg │ ├── twitter-like-outline.svg │ ├── twitter-message.svg │ ├── twitter-news.svg │ ├── twitter-reply-outline.svg │ ├── twitter-retweet.svg │ ├── twitter-search.svg │ └── twitter-verified.svg ├── images │ ├── album_1.png │ ├── album_2.png │ ├── album_3.png │ ├── at-my-worst.png │ ├── leave-the-door-open.png │ ├── levitating.png │ ├── logo.png │ ├── maroon5.png │ ├── peaches.png │ ├── save-your-tears.png │ ├── spiderman.png │ └── yayan_jatnika.png ├── images1 │ ├── beaf-steak.jpg │ ├── butter-chicken.jpg │ ├── dumplings.jpg │ ├── explore.png │ ├── french-toast.jpg │ ├── mexican-pizza.jpg │ └── ramen-noodles.jpg ├── members │ ├── girl1.jpg │ ├── girl2.jpg │ ├── girl3.jpg │ ├── man1.jpg │ └── man2.jpg └── pets-image │ ├── Paw_Print.svg │ ├── cat1.png │ ├── cat2.png │ ├── cat3.png │ ├── cat4.png │ ├── cat5.png │ ├── image1.png │ ├── image2.png │ ├── image3.png │ ├── woman-with-cat1.png │ ├── woman-with-cat2.png │ └── woman-with-cat3.png ├── devtools_options.yaml ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings ├── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── 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-83.5x83.5@2x.png │ │ └── LaunchImage.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ └── README.md │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h └── RunnerTests │ └── RunnerTests.swift ├── lib ├── 3D Object │ └── flutter_3d.dart ├── Animation │ ├── animated_search_bar.dart │ ├── animation_404.dart │ └── custom_animation.dart ├── Audio Player │ └── audio_player.dart ├── Beautiful Flutter Effect │ ├── beautiful_effect.dart │ └── color_palette.dart ├── Bmi Calculator │ ├── bmi_calculator.dart │ └── provider.dart ├── Complete App │ ├── Provider │ │ └── favorite_provider.dart │ ├── Utils │ │ └── constants.dart │ ├── Views │ │ ├── app_main_screen.dart │ │ ├── favorite_screen.dart │ │ ├── myapp_home_screen.dart │ │ ├── quick_foods_screen.dart │ │ └── recipe_screen.dart │ ├── models │ │ └── food.dart │ └── widgets │ │ ├── banner.dart │ │ ├── food_categories.dart │ │ ├── food_counter.dart │ │ ├── food_items.dart │ │ └── my_icon_button.dart ├── Flutter UI │ ├── Blog App ui │ │ ├── Model │ │ │ └── blog_post_model.dart │ │ └── View │ │ │ ├── blog_home_page.dart │ │ │ └── post_detail.dart │ ├── Book App UI │ │ ├── Views │ │ │ ├── book_detail_screen.dart │ │ │ └── book_home_screen.dart │ │ └── models │ │ │ └── book.dart │ ├── Burger App UI │ │ ├── Model │ │ │ └── burget_model.dart │ │ └── View │ │ │ ├── burger_home_page.dart │ │ │ ├── burger_items_details.dart │ │ │ ├── my_bottom_nav_bar.dart │ │ │ └── splash_screen.dart │ ├── Coffee Shope App UI │ │ ├── Model │ │ │ └── coffee_model.dart │ │ ├── Utils │ │ │ └── colors.dart │ │ └── View │ │ │ ├── coffee_detail_screen.dart │ │ │ ├── coffee_shop_home_screen.dart │ │ │ └── login_screen.dart │ ├── Ecommerce App UI │ │ ├── Model │ │ │ ├── category.dart │ │ │ └── product_model.dart │ │ ├── Screen │ │ │ ├── bottom_app_bar.dart │ │ │ ├── detail_screen.dart │ │ │ └── ecommerce_home_page.dart │ │ └── Utils │ │ │ ├── colors.dart │ │ │ └── size.dart │ ├── Furniture App UI │ │ ├── View │ │ │ ├── furniture_home_page.dart │ │ │ ├── items_detail_page.dart │ │ │ └── items_view_page.dart │ │ ├── models │ │ │ └── furniture_model.dart │ │ └── utils │ │ │ └── colors.dart │ ├── House Rent App UI │ │ ├── Model │ │ │ └── house_model.dart │ │ ├── Utils │ │ │ └── colors.dart │ │ └── View │ │ │ ├── Widget │ │ │ ├── horizontal_scroll.dart │ │ │ └── popular_place.dart │ │ │ ├── house_rent_detail.dart │ │ │ └── rent_house_home_screen.dart │ ├── Pet App UI │ │ ├── Utils │ │ │ └── const.dart │ │ ├── models │ │ │ ├── cats_model.dart │ │ │ └── onboards_model.dart │ │ └── pages │ │ │ ├── onboard.dart │ │ │ ├── pets_detail_page.dart │ │ │ └── pets_home_screen.dart │ ├── Plant Shop App UI │ │ ├── Model │ │ │ └── plant_model.dart │ │ └── View │ │ │ ├── bottom_nav_bar.dart │ │ │ ├── plant_shop_home_screen.dart │ │ │ └── product_detail.dart │ ├── Real Estate App UI │ │ ├── Model │ │ │ └── real_estate_model.dart │ │ ├── Views │ │ │ ├── home_screen_real_estate.dart │ │ │ ├── house_detale_screen.dart │ │ │ └── register_screen.dart │ │ └── colors.dart │ ├── Space App UI │ │ ├── Model │ │ │ ├── category.dart │ │ │ └── image.dart │ │ └── View │ │ │ ├── space_home_page.dart │ │ │ └── space_splash_screen.dart │ ├── Travel App UI │ │ ├── Model │ │ │ ├── destination_model.dart │ │ │ ├── facilities_model.dart │ │ │ └── onboard_model.dart │ │ ├── Utils │ │ │ └── const.dart │ │ └── View │ │ │ ├── onboard.dart │ │ │ ├── travel_detal_page.dart │ │ │ └── travel_home_screen.dart │ ├── Universe UI │ │ ├── Model │ │ │ └── universe_model.dart │ │ ├── Screen │ │ │ ├── home_page.dart │ │ │ └── planet_detail_page.dart │ │ └── Utils │ │ │ └── colors.dart │ └── X UI │ │ ├── View │ │ ├── x_home_page.dart │ │ └── x_nav_bar.dart │ │ ├── constants.dart │ │ └── models │ │ └── tweet.dart ├── Hover Effect │ ├── awesome_hover_effect.dart │ ├── card_hover_animation.dart │ ├── hover_on_icon_animation.dart │ ├── hover_to_expand.dart │ └── model.dart ├── Joke Generator │ ├── Model │ │ └── model.dart │ ├── Provider Services │ │ └── provider_services.dart │ └── View │ │ └── joke_page.dart ├── Music Player │ ├── color.dart │ └── music_player_home.dart ├── Responsive │ └── Responsive Contact Form │ │ ├── contact_form.dart │ │ └── responsive.dart ├── Snaken Game │ └── snake_game.dart ├── Speech To Text │ └── speech_to_text.dart ├── Story App │ ├── Model │ │ └── info.dart │ ├── scroll_object.dart │ └── story_screen.dart ├── Tic-Tac-Toe │ └── tic_tac_toe.dart ├── Timer │ └── coundown_timer.dart ├── Tips and Tricks │ ├── bulk_decleration.dart │ └── tips_tricks.dart ├── YouTube Video Player │ └── youtube_video_player.dart ├── check_network_connectivity.dart ├── custom_dropdown_with_hover.dart ├── dynamic_bottom_sheet.dart ├── form_validation.dart ├── local_authentication.dart ├── main.dart ├── my_chart.dart ├── parallax_effect.dart ├── quiz │ ├── Screen │ │ ├── quiz_screen.dart │ │ └── splash_screen.dart │ ├── Services │ │ └── api_services.dart │ └── const │ │ └── colors.dart └── send_email.dart ├── linux ├── .gitignore ├── CMakeLists.txt ├── flutter │ ├── CMakeLists.txt │ ├── generated_plugin_registrant.cc │ ├── generated_plugin_registrant.h │ └── generated_plugins.cmake ├── main.cc ├── my_application.cc └── my_application.h ├── macos ├── .gitignore ├── Flutter │ ├── Flutter-Debug.xcconfig │ ├── Flutter-Release.xcconfig │ └── GeneratedPluginRegistrant.swift ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── app_icon_1024.png │ │ │ ├── app_icon_128.png │ │ │ ├── app_icon_16.png │ │ │ ├── app_icon_256.png │ │ │ ├── app_icon_32.png │ │ │ ├── app_icon_512.png │ │ │ └── app_icon_64.png │ ├── Base.lproj │ │ └── MainMenu.xib │ ├── Configs │ │ ├── AppInfo.xcconfig │ │ ├── Debug.xcconfig │ │ ├── Release.xcconfig │ │ └── Warnings.xcconfig │ ├── DebugProfile.entitlements │ ├── Info.plist │ ├── MainFlutterWindow.swift │ └── Release.entitlements └── RunnerTests │ └── RunnerTests.swift ├── pubspec.lock ├── pubspec.yaml ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png ├── index.html └── manifest.json └── windows ├── .gitignore ├── CMakeLists.txt ├── flutter ├── CMakeLists.txt ├── generated_plugin_registrant.cc ├── generated_plugin_registrant.h └── generated_plugins.cmake └── runner ├── CMakeLists.txt ├── Runner.rc ├── flutter_window.cpp ├── flutter_window.h ├── main.cpp ├── resource.h ├── resources └── app_icon.ico ├── runner.exe.manifest ├── utils.cpp ├── utils.h ├── win32_window.cpp └── win32_window.h /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | migrate_working_dir/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Symbolication related 35 | app.*.symbols 36 | 37 | # Obfuscation related 38 | app.*.map.json 39 | 40 | # Android Studio will place build artifacts here 41 | /android/app/debug 42 | /android/app/profile 43 | /android/app/release 44 | -------------------------------------------------------------------------------- /.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: "761747bfc538b5af34aa0d3fac380f1bc331ec49" 8 | channel: "stable" 9 | 10 | project_type: app 11 | 12 | # Tracks metadata for the flutter migrate command 13 | migration: 14 | platforms: 15 | - platform: root 16 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 17 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 18 | - platform: android 19 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 20 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 21 | - platform: ios 22 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 23 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 24 | - platform: linux 25 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 26 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 27 | - platform: macos 28 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 29 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 30 | - platform: web 31 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 32 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 33 | - platform: windows 34 | create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 35 | base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49 36 | 37 | # User provided section 38 | 39 | # List of Local paths (relative to this file) that should be 40 | # ignored by the migrate tool. 41 | # 42 | # Files that are not part of the templates will be ignored by default. 43 | unmanaged_files: 44 | - 'lib/main.dart' 45 | - 'ios/Runner.xcodeproj/project.pbxproj' 46 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": ["databurger", "pagecontroller", "Swiper"] 3 | } 4 | -------------------------------------------------------------------------------- /Image/audio.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/audio.mp3 -------------------------------------------------------------------------------- /Image/coffee-shop-image/Caffe_Mocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/Caffe_Mocha.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/Caramel_Macchiato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/Caramel_Macchiato.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/LoginCoffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/LoginCoffee.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/affogato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/affogato.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/cafe_cubano.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/cafe_cubano.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/cappuccino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/cappuccino.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/cortado.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/cortado.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/espresso.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/espresso.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/logo.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/menu.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/shope_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/shope_logo.png -------------------------------------------------------------------------------- /Image/coffee-shop-image/turkish_Coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/coffee-shop-image/turkish_Coffee.png -------------------------------------------------------------------------------- /Image/ecommerce-image/chair-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/chair-1.png -------------------------------------------------------------------------------- /Image/ecommerce-image/chair-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/chair-2.png -------------------------------------------------------------------------------- /Image/ecommerce-image/cupboard-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/cupboard-1.jpg -------------------------------------------------------------------------------- /Image/ecommerce-image/cupboard2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/cupboard2.png -------------------------------------------------------------------------------- /Image/ecommerce-image/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Image/ecommerce-image/sofa1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/sofa1.png -------------------------------------------------------------------------------- /Image/ecommerce-image/sofa2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/sofa2.png -------------------------------------------------------------------------------- /Image/ecommerce-image/table1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/table1.png -------------------------------------------------------------------------------- /Image/ecommerce-image/table2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/ecommerce-image/table2.png -------------------------------------------------------------------------------- /Image/house-rent/icon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/icon1.png -------------------------------------------------------------------------------- /Image/house-rent/icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/icon2.png -------------------------------------------------------------------------------- /Image/house-rent/icon3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/icon3.png -------------------------------------------------------------------------------- /Image/house-rent/icon4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/icon4.png -------------------------------------------------------------------------------- /Image/house-rent/image1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image1.jpg -------------------------------------------------------------------------------- /Image/house-rent/image11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image11.jpg -------------------------------------------------------------------------------- /Image/house-rent/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image2.jpg -------------------------------------------------------------------------------- /Image/house-rent/image22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image22.jpg -------------------------------------------------------------------------------- /Image/house-rent/image3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image3.jpg -------------------------------------------------------------------------------- /Image/house-rent/image4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image4.jpg -------------------------------------------------------------------------------- /Image/house-rent/image5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image5.jpg -------------------------------------------------------------------------------- /Image/house-rent/image6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image6.jpg -------------------------------------------------------------------------------- /Image/house-rent/image7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image7.jpg -------------------------------------------------------------------------------- /Image/house-rent/image8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image8.jpg -------------------------------------------------------------------------------- /Image/house-rent/image9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/house-rent/image9.jpg -------------------------------------------------------------------------------- /Image/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/image1.png -------------------------------------------------------------------------------- /Image/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/image2.png -------------------------------------------------------------------------------- /Image/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/image3.png -------------------------------------------------------------------------------- /Image/img/balloon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/balloon2.png -------------------------------------------------------------------------------- /Image/img/beer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/beer.png -------------------------------------------------------------------------------- /Image/img/blue-ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/blue-ball.png -------------------------------------------------------------------------------- /Image/img/bottle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/bottle.png -------------------------------------------------------------------------------- /Image/img/cocacola.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/cocacola.png -------------------------------------------------------------------------------- /Image/img/earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/earth.png -------------------------------------------------------------------------------- /Image/img/green nature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/green nature.png -------------------------------------------------------------------------------- /Image/img/ideas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/ideas.png -------------------------------------------------------------------------------- /Image/img/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image1.png -------------------------------------------------------------------------------- /Image/img/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image2.png -------------------------------------------------------------------------------- /Image/img/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image3.png -------------------------------------------------------------------------------- /Image/img/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image4.png -------------------------------------------------------------------------------- /Image/img/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image5.png -------------------------------------------------------------------------------- /Image/img/image_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image_01.png -------------------------------------------------------------------------------- /Image/img/image_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image_02.jpg -------------------------------------------------------------------------------- /Image/img/image_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image_03.jpg -------------------------------------------------------------------------------- /Image/img/image_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/image_04.jpg -------------------------------------------------------------------------------- /Image/img/jupiter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/jupiter.png -------------------------------------------------------------------------------- /Image/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/logo.png -------------------------------------------------------------------------------- /Image/img/mars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/mars.png -------------------------------------------------------------------------------- /Image/img/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/menu.png -------------------------------------------------------------------------------- /Image/img/menu_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/menu_icon.png -------------------------------------------------------------------------------- /Image/img/mercury.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/mercury.png -------------------------------------------------------------------------------- /Image/img/mountain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/mountain.png -------------------------------------------------------------------------------- /Image/img/mylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/mylogo.png -------------------------------------------------------------------------------- /Image/img/neptune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/neptune.png -------------------------------------------------------------------------------- /Image/img/nikelogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/nikelogo.png -------------------------------------------------------------------------------- /Image/img/redbull.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/redbull.png -------------------------------------------------------------------------------- /Image/img/saturn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/saturn.png -------------------------------------------------------------------------------- /Image/img/sea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/sea.png -------------------------------------------------------------------------------- /Image/img/shoe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/shoe.png -------------------------------------------------------------------------------- /Image/img/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/sprite.png -------------------------------------------------------------------------------- /Image/img/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/sun.png -------------------------------------------------------------------------------- /Image/img/uranus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/uranus.png -------------------------------------------------------------------------------- /Image/img/venus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/venus.png -------------------------------------------------------------------------------- /Image/img/water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/water.png -------------------------------------------------------------------------------- /Image/img/way.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/img/way.png -------------------------------------------------------------------------------- /Image/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/light.png -------------------------------------------------------------------------------- /Image/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/menu.png -------------------------------------------------------------------------------- /Image/plant-image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/plant-image/1.png -------------------------------------------------------------------------------- /Image/plant-image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/plant-image/2.png -------------------------------------------------------------------------------- /Image/plant-image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/plant-image/3.png -------------------------------------------------------------------------------- /Image/plant-image/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/plant-image/4.png -------------------------------------------------------------------------------- /Image/plant-image/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/plant-image/5.png -------------------------------------------------------------------------------- /Image/plant-image/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/plant-image/6.png -------------------------------------------------------------------------------- /Image/portfolio-image/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/portfolio-image/chat.png -------------------------------------------------------------------------------- /Image/portfolio-image/ecommerce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/portfolio-image/ecommerce.png -------------------------------------------------------------------------------- /Image/portfolio-image/news.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/portfolio-image/news.png -------------------------------------------------------------------------------- /Image/portfolio-image/quiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/portfolio-image/quiz.png -------------------------------------------------------------------------------- /Image/portfolio-image/tmdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/portfolio-image/tmdb.png -------------------------------------------------------------------------------- /Image/portfolio-image/weather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/portfolio-image/weather.png -------------------------------------------------------------------------------- /Image/source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/source.png -------------------------------------------------------------------------------- /Image/surce1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/Image/surce1.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # flutter_example 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) 13 | 14 | For help getting started with Flutter development, view the 15 | [online documentation](https://docs.flutter.dev/), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at https://dart.dev/lints. 17 | # 18 | # Instead of disabling a lint rule for the entire project in the 19 | # section below, it can also be suppressed for a single line of code 20 | # or a specific dart file by using the `// ignore: name_of_lint` and 21 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 22 | # producing the lint. 23 | rules: 24 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 25 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 26 | 27 | # Additional information about this file can be found at 28 | # https://dart.dev/guides/language/analysis-options 29 | -------------------------------------------------------------------------------- /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 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id "com.android.application" 3 | id "kotlin-android" 4 | // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. 5 | id "dev.flutter.flutter-gradle-plugin" 6 | } 7 | 8 | def localProperties = new Properties() 9 | def localPropertiesFile = rootProject.file("local.properties") 10 | if (localPropertiesFile.exists()) { 11 | localPropertiesFile.withReader("UTF-8") { reader -> 12 | localProperties.load(reader) 13 | } 14 | } 15 | 16 | def flutterVersionCode = localProperties.getProperty("flutter.versionCode") 17 | if (flutterVersionCode == null) { 18 | flutterVersionCode = "1" 19 | } 20 | 21 | def flutterVersionName = localProperties.getProperty("flutter.versionName") 22 | if (flutterVersionName == null) { 23 | flutterVersionName = "1.0" 24 | } 25 | 26 | android { 27 | namespace = "com.example.flutter_example" 28 | compileSdk = flutter.compileSdkVersion 29 | ndkVersion = flutter.ndkVersion 30 | 31 | compileOptions { 32 | sourceCompatibility = JavaVersion.VERSION_1_8 33 | targetCompatibility = JavaVersion.VERSION_1_8 34 | } 35 | 36 | defaultConfig { 37 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 38 | applicationId = "com.example.flutter_example" 39 | // You can update the following values to match your application needs. 40 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. 41 | minSdk = flutter.minSdkVersion 42 | targetSdk = flutter.targetSdkVersion 43 | versionCode = flutterVersionCode.toInteger() 44 | versionName = flutterVersionName 45 | } 46 | 47 | buildTypes { 48 | release { 49 | // TODO: Add your own signing config for the release build. 50 | // Signing with the debug keys for now, so `flutter run --release` works. 51 | signingConfig = signingConfigs.debug 52 | } 53 | } 54 | } 55 | 56 | flutter { 57 | source = "../.." 58 | } 59 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 19 | 28 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/flutter_example/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.flutter_example 2 | 3 | import io.flutter.embedding.android.FlutterFragmentActivity 4 | 5 | class MainActivity: FlutterFragmentActivity() { 6 | } -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | allprojects { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | } 6 | } 7 | 8 | rootProject.buildDir = "../build" 9 | subprojects { 10 | project.buildDir = "${rootProject.buildDir}/${project.name}" 11 | } 12 | subprojects { 13 | project.evaluationDependsOn(":app") 14 | } 15 | 16 | tasks.register("clean", Delete) { 17 | delete rootProject.buildDir 18 | } 19 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip 6 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | def flutterSdkPath = { 3 | def properties = new Properties() 4 | file("local.properties").withInputStream { properties.load(it) } 5 | def flutterSdkPath = properties.getProperty("flutter.sdk") 6 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 7 | return flutterSdkPath 8 | }() 9 | 10 | includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") 11 | 12 | repositories { 13 | google() 14 | mavenCentral() 15 | gradlePluginPortal() 16 | } 17 | } 18 | 19 | plugins { 20 | id "dev.flutter.flutter-plugin-loader" version "1.0.0" 21 | id "com.android.application" version "7.3.0" apply false 22 | id "org.jetbrains.kotlin.android" version "1.7.10" apply false 23 | } 24 | 25 | include ":app" 26 | -------------------------------------------------------------------------------- /assets/audio/audio1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/audio/audio1.mp3 -------------------------------------------------------------------------------- /assets/blogs/colors.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/colors.jpg -------------------------------------------------------------------------------- /assets/blogs/ikigai.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/ikigai.jpg -------------------------------------------------------------------------------- /assets/blogs/leader.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/leader.jpg -------------------------------------------------------------------------------- /assets/blogs/minimal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/minimal.jpg -------------------------------------------------------------------------------- /assets/blogs/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/profile.jpg -------------------------------------------------------------------------------- /assets/blogs/writing_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/writing_1.jpg -------------------------------------------------------------------------------- /assets/blogs/writing_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/writing_2.jpg -------------------------------------------------------------------------------- /assets/blogs/writing_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/blogs/writing_3.jpg -------------------------------------------------------------------------------- /assets/complete-app/category/burger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/category/burger.png -------------------------------------------------------------------------------- /assets/complete-app/category/pancake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/category/pancake.png -------------------------------------------------------------------------------- /assets/complete-app/category/ramen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/category/ramen.png -------------------------------------------------------------------------------- /assets/complete-app/category/salad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/category/salad.png -------------------------------------------------------------------------------- /assets/complete-app/items/fullset_ramen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/items/fullset_ramen.png -------------------------------------------------------------------------------- /assets/complete-app/items/hakata_ramen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/items/hakata_ramen.png -------------------------------------------------------------------------------- /assets/complete-app/items/kurume_ramen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/items/kurume_ramen.png -------------------------------------------------------------------------------- /assets/complete-app/items/sapporo_miso_ramen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/items/sapporo_miso_ramen.png -------------------------------------------------------------------------------- /assets/complete-app/items/shrimp_fried_rice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/items/shrimp_fried_rice.png -------------------------------------------------------------------------------- /assets/complete-app/onboard/onboard_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/onboard/onboard_1.png -------------------------------------------------------------------------------- /assets/complete-app/onboard/onboard_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/onboard/onboard_2.png -------------------------------------------------------------------------------- /assets/complete-app/onboard/onboard_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/complete-app/onboard/onboard_3.png -------------------------------------------------------------------------------- /assets/facilities/bed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/bed.png -------------------------------------------------------------------------------- /assets/facilities/food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/food.png -------------------------------------------------------------------------------- /assets/facilities/hammock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/hammock.png -------------------------------------------------------------------------------- /assets/facilities/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/music.png -------------------------------------------------------------------------------- /assets/facilities/sleeping-bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/sleeping-bag.png -------------------------------------------------------------------------------- /assets/facilities/t-shirt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/t-shirt.png -------------------------------------------------------------------------------- /assets/facilities/tent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/tent.png -------------------------------------------------------------------------------- /assets/facilities/tub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/tub.png -------------------------------------------------------------------------------- /assets/facilities/wifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/facilities/wifi.png -------------------------------------------------------------------------------- /assets/furniture-image/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/0.jpg -------------------------------------------------------------------------------- /assets/furniture-image/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/1.jpg -------------------------------------------------------------------------------- /assets/furniture-image/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/10.jpg -------------------------------------------------------------------------------- /assets/furniture-image/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/11.jpg -------------------------------------------------------------------------------- /assets/furniture-image/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/12.jpg -------------------------------------------------------------------------------- /assets/furniture-image/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/13.jpg -------------------------------------------------------------------------------- /assets/furniture-image/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/2.jpg -------------------------------------------------------------------------------- /assets/furniture-image/22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/22.jpg -------------------------------------------------------------------------------- /assets/furniture-image/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/3.jpg -------------------------------------------------------------------------------- /assets/furniture-image/33.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/33.jpg -------------------------------------------------------------------------------- /assets/furniture-image/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/4.jpg -------------------------------------------------------------------------------- /assets/furniture-image/44.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/44.jpg -------------------------------------------------------------------------------- /assets/furniture-image/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/5.jpg -------------------------------------------------------------------------------- /assets/furniture-image/55.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/55.jpg -------------------------------------------------------------------------------- /assets/furniture-image/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/6.jpg -------------------------------------------------------------------------------- /assets/furniture-image/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/7.jpg -------------------------------------------------------------------------------- /assets/furniture-image/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/8.jpg -------------------------------------------------------------------------------- /assets/furniture-image/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/9.jpg -------------------------------------------------------------------------------- /assets/furniture-image/menu-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/menu-icon.png -------------------------------------------------------------------------------- /assets/furniture-image/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/furniture-image/search.png -------------------------------------------------------------------------------- /assets/icons/twitter-alert-6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-alert-6 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-analytics.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-analytics 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-home 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-like-outline.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-like-outline 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-message.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-message 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-news.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-news 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-reply-outline.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-reply-outline 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/twitter-search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | twitter-search 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/images/album_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/album_1.png -------------------------------------------------------------------------------- /assets/images/album_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/album_2.png -------------------------------------------------------------------------------- /assets/images/album_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/album_3.png -------------------------------------------------------------------------------- /assets/images/at-my-worst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/at-my-worst.png -------------------------------------------------------------------------------- /assets/images/leave-the-door-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/leave-the-door-open.png -------------------------------------------------------------------------------- /assets/images/levitating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/levitating.png -------------------------------------------------------------------------------- /assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/logo.png -------------------------------------------------------------------------------- /assets/images/maroon5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/maroon5.png -------------------------------------------------------------------------------- /assets/images/peaches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/peaches.png -------------------------------------------------------------------------------- /assets/images/save-your-tears.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/save-your-tears.png -------------------------------------------------------------------------------- /assets/images/spiderman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/spiderman.png -------------------------------------------------------------------------------- /assets/images/yayan_jatnika.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images/yayan_jatnika.png -------------------------------------------------------------------------------- /assets/images1/beaf-steak.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/beaf-steak.jpg -------------------------------------------------------------------------------- /assets/images1/butter-chicken.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/butter-chicken.jpg -------------------------------------------------------------------------------- /assets/images1/dumplings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/dumplings.jpg -------------------------------------------------------------------------------- /assets/images1/explore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/explore.png -------------------------------------------------------------------------------- /assets/images1/french-toast.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/french-toast.jpg -------------------------------------------------------------------------------- /assets/images1/mexican-pizza.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/mexican-pizza.jpg -------------------------------------------------------------------------------- /assets/images1/ramen-noodles.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/images1/ramen-noodles.jpg -------------------------------------------------------------------------------- /assets/members/girl1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/members/girl1.jpg -------------------------------------------------------------------------------- /assets/members/girl2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/members/girl2.jpg -------------------------------------------------------------------------------- /assets/members/girl3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/members/girl3.jpg -------------------------------------------------------------------------------- /assets/members/man1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/members/man1.jpg -------------------------------------------------------------------------------- /assets/members/man2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/members/man2.jpg -------------------------------------------------------------------------------- /assets/pets-image/cat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/cat1.png -------------------------------------------------------------------------------- /assets/pets-image/cat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/cat2.png -------------------------------------------------------------------------------- /assets/pets-image/cat3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/cat3.png -------------------------------------------------------------------------------- /assets/pets-image/cat4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/cat4.png -------------------------------------------------------------------------------- /assets/pets-image/cat5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/cat5.png -------------------------------------------------------------------------------- /assets/pets-image/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/image1.png -------------------------------------------------------------------------------- /assets/pets-image/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/image2.png -------------------------------------------------------------------------------- /assets/pets-image/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/image3.png -------------------------------------------------------------------------------- /assets/pets-image/woman-with-cat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/woman-with-cat1.png -------------------------------------------------------------------------------- /assets/pets-image/woman-with-cat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/woman-with-cat2.png -------------------------------------------------------------------------------- /assets/pets-image/woman-with-cat3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/assets/pets-image/woman-with-cat3.png -------------------------------------------------------------------------------- /devtools_options.yaml: -------------------------------------------------------------------------------- 1 | description: This file stores settings for Dart & Flutter DevTools. 2 | documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states 3 | extensions: 4 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 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 | 12.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '12.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | target 'RunnerTests' do 36 | inherit! :search_paths 37 | end 38 | end 39 | 40 | post_install do |installer| 41 | installer.pods_project.targets.each do |target| 42 | flutter_additional_ios_build_settings(target) 43 | end 44 | end 45 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 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/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/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/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/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 | -------------------------------------------------------------------------------- /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 | NSFaceIDUsageDescription 6 | Used to Athenticate Face and Fingerpring 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleDisplayName 10 | Flutter Example 11 | CFBundleExecutable 12 | $(EXECUTABLE_NAME) 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | flutter_example 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | $(FLUTTER_BUILD_NAME) 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | $(FLUTTER_BUILD_NUMBER) 27 | LSRequiresIPhoneOS 28 | 29 | io.flutter.embedded_views_preview 30 | 31 | UILaunchStoryboardName 32 | LaunchScreen 33 | UIMainStoryboardFile 34 | Main 35 | NSSpeechRecognitionUsageDescription 36 | require permissions for record audio for speech 37 | NSMicrophoneUsageDescription 38 | require permissions for record audio for speech 39 | UISupportedInterfaceOrientations 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationLandscapeLeft 43 | UIInterfaceOrientationLandscapeRight 44 | 45 | UISupportedInterfaceOrientations~ipad 46 | 47 | UIInterfaceOrientationPortrait 48 | UIInterfaceOrientationPortraitUpsideDown 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | CADisableMinimumFrameDurationOnPhone 53 | 54 | UIApplicationSupportsIndirectInputEvents 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /lib/3D Object/flutter_3d.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:model_viewer_plus/model_viewer_plus.dart'; 3 | 4 | class Flutter3d extends StatefulWidget { 5 | const Flutter3d({super.key}); 6 | 7 | @override 8 | State createState() => _Flutter3dState(); 9 | } 10 | 11 | class _Flutter3dState extends State { 12 | @override 13 | Widget build(BuildContext context) { 14 | return Scaffold( 15 | backgroundColor: Colors.blue[100], 16 | body: ModelViewer( 17 | src: "image/police_drone_-_viper_zx07.glb", 18 | autoRotate: true, 19 | ), 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lib/Beautiful Flutter Effect/color_palette.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ColorPalette { 4 | Color color; 5 | int index; 6 | 7 | ColorPalette({ 8 | required this.color, 9 | required this.index, 10 | }); 11 | } 12 | 13 | class ColorPaletteState extends ChangeNotifier { 14 | // default selected color 15 | ColorPalette selectedColor = ColorPalette( 16 | color: Colors.black, 17 | index: 0, 18 | ); 19 | 20 | ColorPalette? hoveredColorPalette; 21 | // list of color available 22 | List availableColorPalette = [ 23 | ColorPalette( 24 | color: Colors.black, 25 | index: 0, 26 | ), 27 | ColorPalette( 28 | color:Colors.red, 29 | index: 1, 30 | ), 31 | ColorPalette( 32 | color:Colors.orange, 33 | index: 2, 34 | ), 35 | ColorPalette( 36 | color: Colors.purple, 37 | index: 3, 38 | ), 39 | ColorPalette( 40 | color: Colors.pink, 41 | index: 4, 42 | ), 43 | ColorPalette( 44 | color: Colors.white, 45 | index: 5, 46 | ), 47 | ColorPalette( 48 | color: Colors.yellow, 49 | index: 6, 50 | ), 51 | ColorPalette( 52 | color: Colors.green, 53 | index: 7, 54 | ), 55 | ColorPalette( 56 | color: Colors.blueGrey, 57 | index:8, 58 | ), 59 | ]; 60 | // change color after selecting 61 | void changeSelectedColor(ColorPalette palette) { 62 | selectedColor =palette; 63 | notifyListeners(); 64 | } 65 | 66 | void changeHoveredColor(ColorPalette? palette) { 67 | hoveredColorPalette = palette; 68 | notifyListeners(); 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /lib/Bmi Calculator/provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class BMIProvider extends ChangeNotifier { 4 | final TextEditingController heightController = TextEditingController(); 5 | final TextEditingController weightController = TextEditingController(); 6 | 7 | double _bmi = 0; // initially 8 | String _bmiCategory = ""; 9 | double get bmi => _bmi; 10 | String get bmiCategory => _bmiCategory; 11 | void calculateBMI() { 12 | final double height = double.tryParse(heightController.text) ?? 0; 13 | final double weight = double.tryParse(weightController.text) ?? 0; 14 | 15 | // now applay the logic to calculate the bmi 16 | if (height > 0 && weight > 0) { 17 | _bmi = weight / (height * height) * 10000; 18 | if (_bmi < 18.5) { 19 | _bmiCategory = "You have a UnderWeight\n(BMI less then 18.5)"; 20 | } else if (_bmi >= 18.5 && _bmi < 24.9) { 21 | _bmiCategory = "You have a Normal Weight\n(BMI 18.5 -24.9)"; 22 | } else if (_bmi >= 25 && _bmi < 30) { 23 | _bmiCategory = "You have a OverWeight\n(BMI 25 - 29.9)"; 24 | } else { 25 | _bmiCategory = "Obesity\n BMI 30 or higher"; 26 | } 27 | notifyListeners(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/Complete App/Provider/favorite_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Complete%20App/models/food.dart'; 3 | import 'package:provider/provider.dart'; 4 | 5 | 6 | class FavoriteProvider extends ChangeNotifier { 7 | final List _favorite = []; 8 | List get favorites => _favorite; 9 | void toggleFavorite(Food product) { 10 | if (_favorite.contains(product)) { 11 | _favorite.remove(product); 12 | } else { 13 | _favorite.add(product); 14 | } 15 | notifyListeners(); 16 | } 17 | 18 | bool isExist(Food product) { 19 | final isExist = _favorite.contains(product); 20 | return isExist; 21 | } 22 | 23 | static FavoriteProvider of(BuildContext context, {bool listen = true}) { 24 | return Provider.of( 25 | context, 26 | listen: listen, 27 | ); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lib/Complete App/Utils/constants.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | const kbackgroundColor = Color(0xffeff1f7); 4 | const kprimaryColor = Color(0xff568A9F); 5 | const kBannerColor = Color(0xff579f8c); 6 | -------------------------------------------------------------------------------- /lib/Complete App/Views/app_main_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Complete%20App/Views/favorite_screen.dart'; 3 | import 'package:iconsax/iconsax.dart'; 4 | 5 | import '../Utils/constants.dart'; 6 | import 'myapp_home_screen.dart'; 7 | 8 | class AppMainScreen extends StatefulWidget { 9 | const AppMainScreen({super.key}); 10 | 11 | @override 12 | State createState() => _AppMainScreenState(); 13 | } 14 | 15 | class _AppMainScreenState extends State { 16 | int selectedIndex = 0; 17 | late final List page; 18 | @override 19 | void initState() { 20 | page = [ 21 | const MyAppHomeScreen(), 22 | const Favorite(), 23 | navBarPage(Iconsax.calendar5), 24 | navBarPage(Iconsax.setting_21), 25 | ]; 26 | super.initState(); 27 | } 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return Scaffold( 32 | backgroundColor: Colors.white, 33 | bottomNavigationBar: BottomNavigationBar( 34 | backgroundColor: Colors.white, 35 | elevation: 0, 36 | iconSize: 28, 37 | currentIndex: selectedIndex, 38 | selectedItemColor: kprimaryColor, 39 | unselectedItemColor: Colors.grey, 40 | selectedLabelStyle: const TextStyle( 41 | color: kprimaryColor, 42 | fontWeight: FontWeight.w600, 43 | ), 44 | unselectedLabelStyle: const TextStyle( 45 | fontWeight: FontWeight.w500, 46 | fontSize: 14, 47 | ), 48 | type: BottomNavigationBarType.fixed, 49 | onTap: (index) { 50 | setState(() { 51 | selectedIndex = index; 52 | }); 53 | }, 54 | items: [ 55 | BottomNavigationBarItem( 56 | icon: Icon(selectedIndex == 0 ? Iconsax.home5 : Iconsax.home_1), 57 | label: "Home", 58 | ), 59 | BottomNavigationBarItem( 60 | icon: Icon(selectedIndex == 1 ? Iconsax.heart5 : Iconsax.heart), 61 | label: "Favorites", 62 | ), 63 | BottomNavigationBarItem( 64 | icon: 65 | Icon(selectedIndex == 2 ? Iconsax.calendar5 : Iconsax.calendar), 66 | label: "Meal Plan", 67 | ), 68 | BottomNavigationBarItem( 69 | icon: Icon( 70 | selectedIndex == 3 ? Iconsax.setting_21 : Iconsax.setting_2), 71 | label: "Settings", 72 | ), 73 | ], 74 | ), 75 | body: page[selectedIndex], 76 | ); 77 | } 78 | 79 | navBarPage(iconName) { 80 | return Center( 81 | child: Icon( 82 | iconName, 83 | size: 100, 84 | color: kprimaryColor, 85 | ), 86 | ); 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /lib/Complete App/models/food.dart: -------------------------------------------------------------------------------- 1 | // for categories model 2 | 3 | const catgories = [ 4 | "All", 5 | "Breakfast", 6 | "Lunch", 7 | "Dinner", 8 | ]; 9 | 10 | // for itemsmodel 11 | class Food { 12 | String name; 13 | String category; 14 | String image; 15 | double cal; 16 | double time; 17 | double rate; 18 | int reviews; 19 | bool isLiked; 20 | 21 | Food( 22 | {required this.name, 23 | required this.image, 24 | required this.cal, 25 | required this.time, 26 | required this.rate, 27 | required this.reviews, 28 | required this.isLiked, 29 | required this.category}); 30 | } 31 | 32 | final List foods = [ 33 | Food( 34 | name: "Spicy Ramen Noodles", 35 | image: "assets/images1/ramen-noodles.jpg", 36 | cal: 120, 37 | time: 15, 38 | rate: 4.4, 39 | reviews: 23, 40 | category: "Breakfast", 41 | isLiked: false, 42 | ), 43 | Food( 44 | name: "Beef Steak", 45 | image: "assets/images1/beaf-steak.jpg", 46 | cal: 140, 47 | time: 25, 48 | category: "Lunch", 49 | rate: 4.4, 50 | reviews: 23, 51 | isLiked: true, 52 | ), 53 | Food( 54 | name: "Butter Chicken", 55 | image: "assets/images1/butter-chicken.jpg", 56 | cal: 130, 57 | time: 18, 58 | rate: 4.2, 59 | category: "Dinner", 60 | reviews: 10, 61 | isLiked: false, 62 | ), 63 | Food( 64 | name: "French Toast", 65 | image: "assets/images1/french-toast.jpg", 66 | cal: 110, 67 | time: 16, 68 | category: "Lunch", 69 | rate: 4.6, 70 | reviews: 90, 71 | isLiked: true, 72 | ), 73 | Food( 74 | name: "Dumplings", 75 | image: "assets/images1/dumplings.jpg", 76 | cal: 150, 77 | time: 30, 78 | category: "Lunch", 79 | rate: 4.0, 80 | reviews: 76, 81 | isLiked: false, 82 | ), 83 | Food( 84 | name: "Mexican Pizza", 85 | image: "assets/images1/mexican-pizza.jpg", 86 | cal: 140, 87 | time: 25, 88 | rate: 4.4, 89 | category: "Breakfast", 90 | reviews: 23, 91 | isLiked: false, 92 | ), 93 | ]; 94 | -------------------------------------------------------------------------------- /lib/Complete App/widgets/banner.dart: -------------------------------------------------------------------------------- 1 | 2 | import 'package:flutter/material.dart'; 3 | 4 | import '../Utils/constants.dart'; 5 | 6 | class BannerToExplore extends StatelessWidget { 7 | const BannerToExplore({ 8 | super.key, 9 | }); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Container( 14 | width: double.infinity, 15 | height: 170, 16 | decoration: BoxDecoration( 17 | borderRadius: BorderRadius.circular(15), 18 | color: kBannerColor, 19 | ), 20 | child: Stack( 21 | children: [ 22 | Positioned( 23 | top: 30, 24 | left: 10, 25 | child: Column( 26 | crossAxisAlignment: CrossAxisAlignment.start, 27 | children: [ 28 | const Text( 29 | "Cook the best\nrecipes at home", 30 | style: TextStyle( 31 | height: 1.1, 32 | fontSize: 22, 33 | fontWeight: FontWeight.bold, 34 | color: Colors.white, 35 | ), 36 | ), 37 | const SizedBox(height: 10), 38 | ElevatedButton( 39 | style: ElevatedButton.styleFrom( 40 | padding: 41 | const EdgeInsets.symmetric(horizontal: 33), 42 | backgroundColor: Colors.white, 43 | elevation: 0, 44 | ), 45 | onPressed: () {}, 46 | child: const Text( 47 | "Explore", 48 | style: TextStyle( 49 | fontSize: 15, 50 | fontWeight: FontWeight.bold, 51 | color: Colors.black, 52 | ), 53 | ), 54 | ), 55 | ], 56 | ), 57 | ), 58 | Positioned( 59 | top: 0, 60 | bottom: 0, 61 | right: -20, 62 | child: Image.network( 63 | "https://pngimg.com/d/chef_PNG190.png", 64 | ), 65 | ), 66 | ], 67 | ), 68 | ); 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /lib/Complete App/widgets/food_categories.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../Utils/constants.dart'; 4 | import '../models/food.dart'; 5 | 6 | class FoodCategories extends StatefulWidget { 7 | const FoodCategories({super.key}); 8 | 9 | @override 10 | State createState() => _CategoriesState(); 11 | } 12 | 13 | class _CategoriesState extends State { 14 | int selectedIndex = 0; 15 | String category = "All"; 16 | List myFood = foods; 17 | @override 18 | Widget build(BuildContext context) { 19 | return SingleChildScrollView( 20 | scrollDirection: Axis.horizontal, 21 | child: Row( 22 | children: List.generate( 23 | catgories.length, 24 | (index) => GestureDetector( 25 | onTap: () { 26 | setState(() { 27 | category = catgories[index]; 28 | category == "All" 29 | ? myFood = foods 30 | : myFood = foods 31 | .where( 32 | (element) => 33 | element.category.toLowerCase() == 34 | catgories[index].toLowerCase(), 35 | ) 36 | .toList(); 37 | }); 38 | }, 39 | child: Container( 40 | decoration: BoxDecoration( 41 | color: 42 | category == catgories[index] ? kprimaryColor : Colors.white, 43 | borderRadius: BorderRadius.circular(25), 44 | ), 45 | padding: const EdgeInsets.symmetric( 46 | horizontal: 20, 47 | vertical: 10, 48 | ), 49 | margin: const EdgeInsets.only(right: 20), 50 | child: Text( 51 | catgories[index], 52 | style: TextStyle( 53 | color: category == catgories[index] 54 | ? Colors.white 55 | : Colors.grey.shade600, 56 | fontWeight: FontWeight.w600, 57 | ), 58 | ), 59 | ), 60 | ), 61 | ), 62 | ), 63 | ); 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /lib/Complete App/widgets/food_counter.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:iconsax/iconsax.dart'; 3 | 4 | class NoOfQuantity extends StatelessWidget { 5 | final int currentNumber; 6 | final Function() onAdd; 7 | final Function() onRemove; 8 | const NoOfQuantity({ 9 | super.key, 10 | required this.currentNumber, 11 | required this.onAdd, 12 | required this.onRemove, 13 | }); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Container( 18 | padding: const EdgeInsets.symmetric(horizontal: 10), 19 | decoration: BoxDecoration( 20 | border: Border.all( 21 | width: 2.5, 22 | color: Colors.grey.shade300, 23 | ), 24 | borderRadius: BorderRadius.circular(25), 25 | ), 26 | child: Row( 27 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 28 | children: [ 29 | IconButton( 30 | onPressed: onRemove, 31 | icon: const Icon(Iconsax.minus), 32 | ), 33 | const SizedBox(width: 10), 34 | Text( 35 | "$currentNumber", 36 | style: const TextStyle( 37 | fontSize: 16, 38 | fontWeight: FontWeight.bold, 39 | ), 40 | ), 41 | const SizedBox(width: 10), 42 | IconButton( 43 | onPressed: onAdd, 44 | icon: const Icon(Iconsax.add), 45 | ), 46 | ], 47 | ), 48 | ); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /lib/Complete App/widgets/my_icon_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MyIconButton extends StatelessWidget { 4 | final IconData icon; 5 | final VoidCallback? pressed; 6 | 7 | const MyIconButton({ 8 | super.key, 9 | required this.icon, 10 | this.pressed, 11 | }); 12 | @override 13 | Widget build(BuildContext context) { 14 | return IconButton( 15 | onPressed:pressed, 16 | style: IconButton.styleFrom( 17 | shape: RoundedRectangleBorder( 18 | borderRadius: BorderRadius.circular(15), 19 | ), 20 | backgroundColor: Colors.white, 21 | fixedSize: const Size(50, 50), 22 | ), 23 | icon: Icon(icon), 24 | ); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /lib/Flutter UI/Burger App UI/Model/burget_model.dart: -------------------------------------------------------------------------------- 1 | class Burger { 2 | final String name; 3 | final String image; 4 | final String distance; 5 | final double price; 6 | final double rating; 7 | final String description; 8 | bool isFavorited; 9 | 10 | Burger({ 11 | required this.name, 12 | required this.image, 13 | required this.distance, 14 | required this.price, 15 | required this.rating, 16 | required this.description, 17 | this.isFavorited = false, 18 | }); 19 | } 20 | 21 | final List burgers = [ 22 | Burger( 23 | name: "Extra Beef Burger", 24 | image: 25 | "https://static.vecteezy.com/system/resources/previews/023/522/928/non_2x/beef-burger-cutout-free-png.png", 26 | rating: 4.8, 27 | price: 990, 28 | distance: "5.3 km", 29 | description: "A burger, short for hamburger, is a popular food item consisting of a cooked patty—typically made from ground beef—placed inside a sliced bread roll or bun. It often includes various toppings like lettuce, tomato, onions, pickles, cheese, and condiments such as ketchup, mustard, or mayonnaise.", 30 | ), 31 | Burger( 32 | name: "Smoked Beef burger", 33 | image: 34 | "https://static.vecteezy.com/system/resources/previews/023/522/925/non_2x/beef-burger-cutout-free-png.png", 35 | rating: 4.5, 36 | price: 222.0, 37 | distance: "990 km", description: 38 | "A burger, short for hamburger, is a popular food item consisting of a cooked patty—typically made from ground beef—placed inside a sliced bread roll or bun. It often includes various toppings like lettuce, tomato, onions, pickles, cheese, and condiments such as ketchup, mustard, or mayonnaise.", 39 | ), 40 | Burger( 41 | name: "Grilled beef burger", 42 | image: 43 | "https://www.qualityassurancemag.com/fileuploads/publications/29/issues/103585/articles/images/Impossible_Burger_fmt.png", 44 | rating: 5.0, 45 | price: 130.0, 46 | distance: "4.3 km", 47 | description: 48 | "A burger, short for hamburger, is a popular food item consisting of a cooked patty—typically made from ground beef—placed inside a sliced bread roll or bun. It often includes various toppings like lettuce, tomato, onions, pickles, cheese, and condiments such as ketchup, mustard, or mayonnaise.", 49 | ), 50 | Burger( 51 | name: "Fried chicken burger", 52 | image: 53 | "https://static.vecteezy.com/system/resources/previews/032/325/430/non_2x/fried-chicken-burger-isolated-on-transparent-background-file-cut-out-ai-generated-png.png", 54 | rating: 5.0, 55 | price: 120.0, 56 | distance: "1.3 km", 57 | description: 58 | "A burger, short for hamburger, is a popular food item consisting of a cooked patty—typically made from ground beef—placed inside a sliced bread roll or bun. It often includes various toppings like lettuce, tomato, onions, pickles, cheese, and condiments such as ketchup, mustard, or mayonnaise.", 59 | ), 60 | ]; 61 | List categoryList = [ 62 | '🍖Beef', 63 | '🧀Cheese', 64 | '🍤Shrimp', 65 | '🍕Pizza', 66 | ]; 67 | -------------------------------------------------------------------------------- /lib/Flutter UI/Burger App UI/View/my_bottom_nav_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Flutter%20UI/Burger%20App%20UI/View/burger_home_page.dart'; 3 | 4 | class MyBottomNavBar extends StatefulWidget { 5 | const MyBottomNavBar({super.key}); 6 | 7 | @override 8 | State createState() => _MyBottomNavBarState(); 9 | } 10 | 11 | class _MyBottomNavBarState extends State { 12 | int selectedIndex = 0; 13 | late final List page; 14 | @override 15 | void initState() { 16 | page = [ 17 | const BurgerHomePage(), 18 | navBarPage(Icons.shopping_cart_outlined), 19 | navBarPage(Icons.favorite_border), 20 | navBarPage(Icons.note_add_outlined), 21 | ]; 22 | super.initState(); 23 | } 24 | 25 | @override 26 | Widget build(BuildContext context) { 27 | return Scaffold( 28 | backgroundColor: Colors.white, 29 | bottomNavigationBar: BottomNavigationBar( 30 | backgroundColor: Colors.white, 31 | elevation: 0, 32 | iconSize: 33, 33 | currentIndex: selectedIndex, 34 | selectedItemColor: Colors.black, 35 | unselectedItemColor: Colors.black38, 36 | type: BottomNavigationBarType.fixed, 37 | showSelectedLabels: false, 38 | showUnselectedLabels: false, 39 | onTap: (index) { 40 | setState(() { 41 | selectedIndex = index; 42 | }); 43 | }, 44 | items: const [ 45 | BottomNavigationBarItem( 46 | icon: Icon(Icons.home), 47 | label: "", 48 | ), 49 | BottomNavigationBarItem( 50 | icon: Icon(Icons.shopping_cart_outlined), 51 | label: "", 52 | ), 53 | BottomNavigationBarItem( 54 | icon: Icon(Icons.favorite_border), 55 | label: "", 56 | ), 57 | BottomNavigationBarItem( 58 | icon: Icon(Icons.note_add_outlined), 59 | label: "", 60 | ), 61 | ], 62 | ), 63 | body: page[selectedIndex], 64 | ); 65 | } 66 | 67 | navBarPage(iconName) { 68 | return Center( 69 | child: Icon( 70 | iconName, 71 | size: 100, 72 | color: Colors.black, 73 | ), 74 | ); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /lib/Flutter UI/Coffee Shope App UI/Model/coffee_model.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class Coffee { 4 | String name, image; 5 | Color color; 6 | double price; 7 | double star; 8 | Coffee({ 9 | required this.color, 10 | required this.image, 11 | required this.name, 12 | required this.price, 13 | required this.star 14 | }); 15 | } 16 | 17 | List coffeelist = [ 18 | Coffee( 19 | name: "Espresso", 20 | image: "image/coffee-shop-image/espresso.png", 21 | color: const Color(0xff65C5B2), 22 | price: 5, 23 | star: 4.4 24 | ), 25 | Coffee( 26 | name: "Cafe Mocha", 27 | image: "image/coffee-shop-image/Caffe_Mocha.png", 28 | color: const Color(0xffFFAEF2), 29 | price: 11, 30 | star: 4.9 31 | ), 32 | Coffee( 33 | name: "Caramel Macchiato", 34 | image: "image/coffee-shop-image/Caramel_Macchiato.png", 35 | color: const Color(0xffFF9839), 36 | price: 7, 37 | star: 4.0 38 | ), 39 | Coffee( 40 | name: "Turkish Coffee", 41 | image: "image/coffee-shop-image/turkish_Coffee.png", 42 | color: const Color(0xffB68456), 43 | price: 4, 44 | star: 4.3 45 | ), 46 | Coffee( 47 | name: "Cappuccino", 48 | image: "image/coffee-shop-image/cappuccino.png", 49 | color: const Color(0xffE74343), 50 | price: 9, 51 | star: 3.4 52 | ), 53 | Coffee( 54 | name: "Affogato", 55 | image: "image/coffee-shop-image/affogato.png", 56 | color: const Color(0xff56B670), 57 | price: 12, 58 | star: 4.0 59 | ), 60 | Coffee( 61 | name: "Cortado", 62 | image: "image/coffee-shop-image/cortado.png", 63 | color: const Color(0xff8D5FDC), 64 | price: 8, 65 | star: 5.0 66 | ), 67 | Coffee( 68 | name: "Cafe Cubano", 69 | image: "image/coffee-shop-image/cafe_cubano.png", 70 | color: const Color(0xff5FBFDC), 71 | price: 15, 72 | star: 4.5 73 | ), 74 | ]; 75 | -------------------------------------------------------------------------------- /lib/Flutter UI/Coffee Shope App UI/Utils/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | Color backgroundColor = const Color(0xff67c4b3); 4 | Color buttonColor = const Color(0xffFDB94E); 5 | Color facebookButtondColor = const Color(0xff1976d5); 6 | Color fillColor = const Color(0xffdcdcdc); 7 | -------------------------------------------------------------------------------- /lib/Flutter UI/Ecommerce App UI/Model/category.dart: -------------------------------------------------------------------------------- 1 | class Category { 2 | final String title; 3 | 4 | Category({ 5 | required this.title, 6 | }); 7 | } 8 | 9 | final List categoriesList = [ 10 | Category( 11 | title: "Chair", 12 | ), 13 | Category( 14 | title: "Sofa", 15 | ), 16 | Category( 17 | title: "Cupboard", 18 | ), 19 | Category( 20 | title: "Table", 21 | ), 22 | Category( 23 | title: "Wadrobe", 24 | ) 25 | ]; 26 | -------------------------------------------------------------------------------- /lib/Flutter UI/Ecommerce App UI/Screen/bottom_app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Flutter%20UI/Ecommerce%20App%20UI/Screen/ecommerce_home_page.dart'; 3 | import 'package:flutter_example/Flutter%20UI/Ecommerce%20App%20UI/Utils/colors.dart'; 4 | import 'package:google_nav_bar/google_nav_bar.dart'; 5 | 6 | class MyBottomNavBar extends StatefulWidget { 7 | const MyBottomNavBar({super.key}); 8 | 9 | @override 10 | State createState() => _HomeScreenState(); 11 | } 12 | 13 | class _HomeScreenState extends State { 14 | int selectedIndex = 0; 15 | late final List page; 16 | @override 17 | void initState() { 18 | page = [ 19 | const EcommerceHomePage(), 20 | navBarPage(Icons.location_on), 21 | navBarPage(Icons.person), 22 | navBarPage(Icons.shopping_cart), 23 | 24 | ]; 25 | super.initState(); 26 | } 27 | 28 | @override 29 | Widget build(BuildContext context) { 30 | return Scaffold( 31 | backgroundColor: Colors.white, 32 | bottomNavigationBar: Padding( 33 | padding: const EdgeInsets.all(10), 34 | child: GNav( 35 | textStyle: TextStyle(color: primary, fontWeight: FontWeight.bold), 36 | activeColor: primary, 37 | tabBackgroundColor: Colors.orange[50]!, 38 | padding: const EdgeInsets.symmetric(horizontal: 15, vertical: 8), 39 | tabs: const [ 40 | GButton(icon: Icons.home, text: "Home", iconSize: 30), 41 | GButton( 42 | icon: Icons.share_location_sharp, 43 | text: "Location", 44 | iconSize: 30, 45 | ), 46 | GButton(icon: Icons.person, text: "Profile", iconSize: 30), 47 | GButton(icon: Icons.shopping_cart, text: "Cart", iconSize: 30), 48 | ], 49 | onTabChange: (index) { 50 | setState(() { 51 | selectedIndex = index; 52 | }); 53 | }, 54 | ), 55 | ), 56 | body: page[selectedIndex], 57 | ); 58 | } 59 | 60 | navBarPage(iconName) { 61 | return Center( 62 | child: Icon( 63 | iconName, 64 | size: 100, 65 | color: Colors.black, 66 | ), 67 | ); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /lib/Flutter UI/Ecommerce App UI/Utils/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | Color textGray = const Color.fromARGB(255, 126, 126, 126); 4 | Color primary = const Color.fromARGB(255, 236, 104, 19); 5 | -------------------------------------------------------------------------------- /lib/Flutter UI/Ecommerce App UI/Utils/size.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | 3 | class SizeConfig { 4 | static double screenWidth = 0; 5 | static double screenHeight = 0; 6 | static double horizontalSize = 0; 7 | static double verticalSize = 0; 8 | 9 | static double textMultiplier = 0; 10 | static double imageSizeMultiplier = 0; 11 | static double heightMultiplier = 0; 12 | 13 | void init(BuildContext context) { 14 | screenWidth = MediaQuery.of(context).size.width; 15 | screenHeight = MediaQuery.of(context).size.height; 16 | horizontalSize = screenWidth / 100; 17 | verticalSize = screenHeight / 100; 18 | 19 | textMultiplier = verticalSize; 20 | imageSizeMultiplier = horizontalSize; 21 | heightMultiplier = verticalSize; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/Flutter UI/Furniture App UI/utils/colors.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | 3 | const backgroundColor = Color(0xff242424); 4 | const secondaryColor = Color(0xff4A3D32); 5 | const textColor = Color(0xffD7CCBC); 6 | const accentColor = Color(0xffBF9555); 7 | -------------------------------------------------------------------------------- /lib/Flutter UI/House Rent App UI/Utils/colors.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | var kBlueColor = const Color(0xFF1DA1F2); 3 | var kBackgroundColor = const Color(0xFFf9f9fa); 4 | const kFontColor = Color(0xFF657786); 5 | const kBlueTextColor = Color(0xFF1e98d0); -------------------------------------------------------------------------------- /lib/Flutter UI/Pet App UI/Utils/const.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | const blue = Color(0xFF2596be); 3 | const blueBackground = Color(0xff64aeef); 4 | const buttonColor = Color(0xFF56a7f0); 5 | const orangeContainer = Color(0xFFf8c63b); 6 | const pawColor1 = Color(0xFFf7b803); 7 | const pawColor2 = Color(0xFF3494ec); 8 | const color2 = Color(0xffffd690); 9 | const color1 = Color(0xffcaeda1); 10 | const color3 = Color(0xffa4e1ff); 11 | const black = Colors.black; 12 | // all the source code is in description 13 | -------------------------------------------------------------------------------- /lib/Flutter UI/Pet App UI/models/onboards_model.dart: -------------------------------------------------------------------------------- 1 | class OnBoards { 2 | final String text, image; 3 | 4 | OnBoards({required this.text, required this.image}); 5 | } 6 | 7 | List onBoardData = [ 8 | OnBoards( 9 | text: 'Join us and discover the best\npet in your location', 10 | image: "assets/pets-image/image1.png", 11 | ), 12 | OnBoards( 13 | text: "We help people connect with pet \naround your Location", 14 | image: "assets/pets-image/image2.png", 15 | ), 16 | OnBoards( 17 | text: "We show the easy way to adopt pet. \nJust stay at home with us.", 18 | image: "assets/pets-image/image3.png", 19 | ), 20 | ]; 21 | -------------------------------------------------------------------------------- /lib/Flutter UI/Plant Shop App UI/Model/plant_model.dart: -------------------------------------------------------------------------------- 1 | class Product { 2 | final String title; 3 | final String image; 4 | final String description; 5 | final double price; 6 | bool isFavorited; 7 | 8 | Product( { 9 | required this.description, 10 | required this.title, 11 | required this.image, 12 | required this.price, 13 | this.isFavorited = false, 14 | }); 15 | } 16 | 17 | 18 | final List product = [ 19 | Product( 20 | image: 'image/plant-image/2.png', 21 | title: 'Succulent Plant', 22 | price: 29.99, 23 | description: 24 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', 25 | ), 26 | Product( 27 | image: 'image/plant-image/5.png', 28 | title: 'Dragon Plant', 29 | price: 25.99, 30 | description: 31 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', 32 | ), 33 | Product( 34 | image: 'image/plant-image/6.png', 35 | title: 'Raevnea Plant', 36 | price: 22.99, 37 | description: 38 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', 39 | ), 40 | Product( 41 | image: 'image/plant-image/1.png', 42 | title: 'Potted Plant', 43 | price: 24.99, 44 | description: 45 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', 46 | ), 47 | Product( 48 | image: 'image/plant-image/4.png', 49 | title: 'Ipsum Plant', 50 | price: 50.99, 51 | description: 52 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', 53 | ), 54 | Product( 55 | image: 'image/plant-image/3.png', 56 | title: 'AC Plant', 57 | price: 99.99, 58 | description: 59 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', 60 | ), 61 | ]; 62 | -------------------------------------------------------------------------------- /lib/Flutter UI/Plant Shop App UI/View/bottom_nav_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Flutter%20UI/Plant%20Shop%20App%20UI/View/plant_shop_home_screen.dart'; 3 | 4 | class BottomNavBar extends StatefulWidget { 5 | const BottomNavBar({super.key}); 6 | @override 7 | State createState() => _BottomNavBarState(); 8 | } 9 | 10 | class _BottomNavBarState extends State { 11 | int selectedIndex = 0; 12 | late final List page; 13 | @override 14 | void initState() { 15 | page = [ 16 | const PlantShopHomeScreen(), 17 | navBarPage(Icons.favorite), 18 | navBarPage(Icons.notifications), 19 | navBarPage(Icons.person), 20 | ]; 21 | super.initState(); 22 | } 23 | 24 | @override 25 | Widget build(BuildContext context) { 26 | return Scaffold( 27 | backgroundColor: Colors.white, 28 | bottomNavigationBar: BottomNavigationBar( 29 | backgroundColor: Colors.white, 30 | elevation: 5, 31 | iconSize: 32, 32 | currentIndex: selectedIndex, 33 | selectedItemColor: Colors.green, 34 | unselectedItemColor: Colors.black45, 35 | type: BottomNavigationBarType.fixed, 36 | showSelectedLabels: false, 37 | showUnselectedLabels: false, 38 | onTap: (index) { 39 | setState(() { 40 | selectedIndex = index; 41 | }); 42 | }, 43 | items: const [ 44 | BottomNavigationBarItem(icon: Icon(Icons.home), label: ""), 45 | BottomNavigationBarItem(icon: Icon(Icons.favorite), label: ""), 46 | BottomNavigationBarItem( 47 | icon: Icon(Icons.notifications), label: ""), 48 | BottomNavigationBarItem(icon: Icon(Icons.person), label: ""), 49 | ]), 50 | body: page[selectedIndex], 51 | ); 52 | } 53 | 54 | navBarPage(iconName) { 55 | return Center( 56 | child: Icon( 57 | iconName, 58 | size: 100, 59 | color: Colors.black, 60 | ), 61 | ); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /lib/Flutter UI/Real Estate App UI/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | Color primaryBackground = const Color(0xfffafafa); 4 | Color bannerColor1 = const Color(0xff266ef1); 5 | Color bannerColor2 = const Color(0xfffff06e); 6 | -------------------------------------------------------------------------------- /lib/Flutter UI/Space App UI/Model/category.dart: -------------------------------------------------------------------------------- 1 | List spaceCategory = [ 2 | 'All', 3 | 'Planet', 4 | 'Comets', 5 | 'Solar System', 6 | 'Asteroids' 7 | ]; 8 | -------------------------------------------------------------------------------- /lib/Flutter UI/Space App UI/Model/image.dart: -------------------------------------------------------------------------------- 1 | String profile = "https://t4.ftcdn.net/jpg/03/64/21/11/360_F_364211147_1qgLVxv1Tcq0Ohz3FawUfrtONzz8nq3e.jpg"; 2 | String mars = "https://www.pikpng.com/pngl/b/100-1005701_planets-clipart-mars-mars-planet-png-transparent-png.png"; 3 | String venus = "https://cdn.pixabay.com/photo/2012/04/10/17/39/venus-26620_1280.png"; 4 | String cassiniSaturn = "https://wamu.org/wp-content/uploads/2017/04/cassini20170425_wide-d1978b4e13957bfeee8480e608af4c84b5a62e88.jpg"; 5 | String mercury = "https://static.wikia.nocookie.net/thesolarsystem6361/images/e/e7/Eris_Artist%E2%80%99s_Impression.png/revision/latest?cb=20220819205313"; 6 | String earth = "https://upload.wikimedia.org/wikipedia/commons/archive/4/43/20220724094022%21The_Earth_seen_from_Apollo_17_with_transparent_background.png"; 7 | String earthSurvey = "https://static.tnn.in/thumb/msid-108953692,thumbsize-87292,width-1280,height-720,resizemode-75/108953692.jpg?quality=100"; 8 | String uranus = "https://parspng.com/wp-content/uploads/2022/10/uranuspng.parspng.com_.png"; 9 | String jupiter = "https://storage.needpix.com/rsynced_images/jupiter-153563_1280.png"; 10 | String saturn = "https://static.vecteezy.com/system/resources/previews/034/469/480/original/realistic-saturn-planet-ai-generative-png.png"; 11 | String neptune = "https://cdn.pixabay.com/photo/2023/09/04/17/04/neptune-8233219_1280.png"; 12 | 13 | // here i have collect the image that we have used in this video 14 | -------------------------------------------------------------------------------- /lib/Flutter UI/Travel App UI/Model/facilities_model.dart: -------------------------------------------------------------------------------- 1 | class Facilities { 2 | final String image, text; 3 | 4 | Facilities({ 5 | required this.image, 6 | required this.text, 7 | }); 8 | } 9 | 10 | List facilities = [ 11 | Facilities(image: 'assets/facilities/bed.png', text: 'Bed'), 12 | Facilities(image: 'assets/facilities/food.png', text: 'Food'), 13 | Facilities(image: 'assets/facilities/hammock.png', text: 'Hammock'), 14 | Facilities(image: 'assets/facilities/music.png', text: 'Music'), 15 | Facilities(image: 'assets/facilities/sleeping-bag.png', text: 'Sleeping Bag'), 16 | Facilities(image: 'assets/facilities/t-shirt.png', text: 'T-Shirt'), 17 | Facilities(image: 'assets/facilities/tent.png', text: 'Tent'), 18 | Facilities(image: 'assets/facilities/tub.png', text: 'Tub'), 19 | Facilities(image: 'assets/facilities/wifi.png', text: 'Wifi'), 20 | ]; 21 | -------------------------------------------------------------------------------- /lib/Flutter UI/Travel App UI/Model/onboard_model.dart: -------------------------------------------------------------------------------- 1 | class OnBoard { 2 | final String image, text1, text2; 3 | OnBoard({ 4 | required this.text1, 5 | required this.text2, 6 | required this.image, 7 | }); 8 | } 9 | 10 | List onboards = [ 11 | 12 | OnBoard( 13 | image: 'https://static.vecteezy.com/system/resources/previews/013/951/374/large_2x/beautiful-close-up-ecology-nature-landscape-with-mountain-creek-abstract-long-exposure-forest-stream-with-pine-trees-and-green-foliage-background-autumn-tiny-waterfall-rocks-amazing-sunny-nature-photo.jpg', 14 | text1: 'Enjoy your', 15 | text2: 'trip in nature.', 16 | ), 17 | OnBoard( 18 | image: 19 | 'https://img.freepik.com/free-vector/portrait-programmer-working-with-pc_23-2148222500.jpg?t=st=1725271521~exp=1725275121~hmac=ce89fddd322c3efd9f480a06ef3e8cab27f10ae61fcc015bb93dd339199f7ed4&w=1480', 20 | text1: 'Start your', 21 | text2: 'journey in coding.', 22 | ), 23 | OnBoard( 24 | image: 'https://img.freepik.com/free-photo/view-luxurious-villa-with-modern-architectural-design_23-2151694015.jpg?t=st=1725271693~exp=1725275293~hmac=81a5779b2535f64ce7e31aae447bdcdde338048488bacfed302a16151dd94805&w=900', 25 | text1: 'Let\'s make', 26 | text2: 'your dream vacation.', 27 | ), 28 | ]; 29 | -------------------------------------------------------------------------------- /lib/Flutter UI/Travel App UI/Utils/const.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | const blue = Colors.blue; 3 | const lightblue = Color(0xff84daf3); 4 | const primaryColor = Color(0xfffbfcff); 5 | -------------------------------------------------------------------------------- /lib/Flutter UI/Universe UI/Utils/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | Color firstGradientColor = const Color.fromARGB(255, 16, 58, 132); 3 | Color secondGradientColor = const Color.fromARGB(255, 111, 60, 143); 4 | Color primaryTextColor = const Color.fromARGB(255, 65, 76, 107); 5 | Color secondaryTextColor = const Color.fromARGB(255, 228, 151, 158); 6 | Color contentTextColor = const Color.fromARGB(255, 134, 134, 134); 7 | Color navBarColor = const Color.fromARGB(255, 89, 64, 182); 8 | -------------------------------------------------------------------------------- /lib/Flutter UI/X UI/View/x_nav_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Flutter%20UI/X%20UI/View/x_home_page.dart'; 3 | import 'package:flutter_example/Flutter%20UI/X%20UI/constants.dart'; 4 | import 'package:flutter_svg/svg.dart'; 5 | 6 | class XBottomNavBar extends StatefulWidget { 7 | const XBottomNavBar({super.key}); 8 | 9 | @override 10 | State createState() => _XBottomNavBarState(); 11 | } 12 | 13 | class _XBottomNavBarState extends State { 14 | int selectedIndex = 0; 15 | late final List page; 16 | @override 17 | void initState() { 18 | page = [ 19 | const XHomePage(), 20 | navBarPage(Icons.search), 21 | navBarPage(Icons.notifications), 22 | navBarPage(Icons.grid_view), 23 | navBarPage(Icons.mail), 24 | ]; 25 | 26 | super.initState(); 27 | } 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return Scaffold( 32 | bottomNavigationBar: BottomNavigationBar( 33 | backgroundColor: kbackgroundColor, 34 | showSelectedLabels: false, 35 | currentIndex: selectedIndex, 36 | showUnselectedLabels: false, 37 | type: BottomNavigationBarType.fixed, 38 | onTap: (index) { 39 | setState(() { 40 | selectedIndex = index; 41 | }); 42 | }, 43 | items: [ 44 | BottomNavigationBarItem( 45 | icon: SvgPicture.asset( 46 | "assets/icons/twitter-home.svg", 47 | height: 25, 48 | width: 25, 49 | color: Colors.white, 50 | ), 51 | label: "", 52 | ), 53 | BottomNavigationBarItem( 54 | icon: SvgPicture.asset( 55 | "assets/icons/twitter-search.svg", 56 | height: 25, 57 | width: 25, 58 | ), 59 | label: "", 60 | ), 61 | BottomNavigationBarItem( 62 | icon: SvgPicture.asset( 63 | "assets/icons/twitter-alert-6.svg", 64 | height: 25, 65 | width: 25, 66 | ), 67 | label: "", 68 | ), 69 | BottomNavigationBarItem( 70 | icon: SvgPicture.asset( 71 | "assets/icons/twitter-news.svg", 72 | height: 25, 73 | width: 25, 74 | ), 75 | label: "", 76 | ), 77 | BottomNavigationBarItem( 78 | icon: SvgPicture.asset( 79 | "assets/icons/twitter-message.svg", 80 | height: 25, 81 | width: 25, 82 | ), 83 | label: "", 84 | ), 85 | ], 86 | ), 87 | body: page[selectedIndex], 88 | ); 89 | } 90 | 91 | navBarPage(iconName) { 92 | return Center( 93 | child: Icon( 94 | iconName, 95 | size: 150, 96 | color: Colors.white, 97 | ), 98 | ); 99 | } 100 | } 101 | -------------------------------------------------------------------------------- /lib/Flutter UI/X UI/constants.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | const kprimaryColor = Color(0xff1d9bf0); 4 | const kbackgroundColor = Color(0xff000000); 5 | const kcontentColor = Color(0xff70757a); 6 | -------------------------------------------------------------------------------- /lib/Hover Effect/model.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ObjectToHover { 4 | String title; 5 | String description; 6 | String image; 7 | Color color1; 8 | Color color2; 9 | 10 | ObjectToHover({ 11 | required this.description, 12 | required this.image, 13 | required this.title, 14 | required this.color1, 15 | required this.color2 16 | 17 | 18 | }); 19 | } 20 | 21 | List dataInfo = [ 22 | ObjectToHover( 23 | description: 24 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.", 25 | image: "image/bottle.png", 26 | title: "Pepsi", 27 | color2: const Color(0xff004b93) , 28 | color1: Colors.red[700]!, 29 | ), 30 | ObjectToHover( 31 | description: 32 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.", 33 | image: "image/cocacola.png", 34 | title: "Coca Cola", 35 | color1: Colors.black, 36 | color2: Colors.red, 37 | ), 38 | ObjectToHover( 39 | description: 40 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.", 41 | image: "image/beer.png", 42 | title: "Beer", 43 | color1: Colors.purple, 44 | color2: Colors.green 45 | ), 46 | ObjectToHover( 47 | description: 48 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.", 49 | image: "image/sprite.png", 50 | title: "Sprite", 51 | color1: Colors.blue, 52 | color2: Colors.orangeAccent 53 | ), 54 | ]; 55 | -------------------------------------------------------------------------------- /lib/Joke Generator/Model/model.dart: -------------------------------------------------------------------------------- 1 | // To parse this JSON data, do 2 | // 3 | // final randomJokes = randomJokesFromJson(jsonString); 4 | 5 | import 'dart:convert'; 6 | 7 | RandomJokes randomJokesFromJson(String str) => 8 | RandomJokes.fromJson(json.decode(str)); 9 | 10 | String randomJokesToJson(RandomJokes data) => json.encode(data.toJson()); 11 | 12 | class RandomJokes { 13 | List categories; 14 | DateTime createdAt; 15 | String iconUrl; 16 | String id; 17 | DateTime updatedAt; 18 | String url; 19 | String value; 20 | 21 | RandomJokes({ 22 | required this.categories, 23 | required this.createdAt, 24 | required this.iconUrl, 25 | required this.id, 26 | required this.updatedAt, 27 | required this.url, 28 | required this.value, 29 | }); 30 | 31 | factory RandomJokes.fromJson(Map json) => RandomJokes( 32 | categories: List.from(json["categories"].map((x) => x)), 33 | createdAt: DateTime.parse(json["created_at"]), 34 | iconUrl: json["icon_url"], 35 | id: json["id"], 36 | updatedAt: DateTime.parse(json["updated_at"]), 37 | url: json["url"], 38 | value: json["value"], 39 | ); 40 | 41 | Map toJson() => { 42 | "categories": List.from(categories.map((x) => x)), 43 | "created_at": createdAt.toIso8601String(), 44 | "icon_url": iconUrl, 45 | "id": id, 46 | "updated_at": updatedAt.toIso8601String(), 47 | "url": url, 48 | "value": value, 49 | }; 50 | } 51 | -------------------------------------------------------------------------------- /lib/Joke Generator/Provider Services/provider_services.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | import 'package:flutter/cupertino.dart'; 3 | import 'package:flutter_example/Joke%20Generator/Model/model.dart'; 4 | import 'package:http/http.dart' as http; 5 | 6 | 7 | class JokeProviderServices extends ChangeNotifier { 8 | RandomJokes? _joke; 9 | 10 | RandomJokes? get joke => _joke; 11 | 12 | Future getData() async { 13 | var url = 'https://api.chucknorris.io/jokes/random'; 14 | 15 | try { 16 | final response = await http.get(Uri.parse(url)); 17 | 18 | if (response.statusCode == 200) { 19 | final data = json.decode(response.body); 20 | _joke = RandomJokes.fromJson(data); 21 | 22 | notifyListeners(); 23 | } else { 24 | print("Something went wrong"); 25 | } 26 | } catch (e) { 27 | print(e.toString()); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/Joke Generator/View/joke_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Joke%20Generator/Provider%20Services/provider_services.dart'; 3 | import 'package:provider/provider.dart'; 4 | 5 | class JokeScreen extends StatelessWidget { 6 | const JokeScreen({super.key}); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | appBar: AppBar( 12 | backgroundColor: Colors.blue, 13 | foregroundColor: Colors.white, 14 | title: const Text("Random Joke Gnerator"), 15 | ), 16 | body: Consumer( 17 | builder: (context, jokeController, _) { 18 | return Center( 19 | child: Padding( 20 | padding: const EdgeInsets.symmetric( 21 | vertical: 50, 22 | horizontal: 15, 23 | ), 24 | child: Column( 25 | mainAxisAlignment: MainAxisAlignment.center, 26 | children: [ 27 | if (jokeController.joke != null) ...[ 28 | Image.network( 29 | jokeController.joke!.iconUrl, 30 | height: 100, 31 | width: 100, 32 | ), 33 | const SizedBox(height: 20), 34 | Text( 35 | jokeController.joke!.value, 36 | style: const TextStyle( 37 | fontSize: 22, 38 | color: Colors.black, 39 | letterSpacing: 1 40 | ), 41 | ), 42 | 43 | ], 44 | const SizedBox(height: 20), 45 | ElevatedButton( 46 | onPressed: () { 47 | jokeController.getData(); 48 | }, 49 | child: Text( 50 | jokeController.joke == null 51 | ? 'Start Reading Jokes' 52 | : 'Next Joke', 53 | ), 54 | ), 55 | ], 56 | ), 57 | ), 58 | ); 59 | }, 60 | ), 61 | ); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /lib/Music Player/color.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | Color myBackgroundColor = const Color.fromARGB(255, 241, 242, 246); 4 | Color darkShadowColor = const Color.fromARGB(255, 218, 223, 240); 5 | Color lightShadowColor = Colors.white; 6 | Color myTextColor = const Color.fromARGB(255, 112, 112, 112); 7 | Color secondaryLightColor = const Color.fromARGB(255, 184, 236, 237); 8 | Color secondaryDarkColor = const Color.fromARGB(255, 55, 200, 223); 9 | -------------------------------------------------------------------------------- /lib/Responsive/Responsive Contact Form/responsive.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | class Responsive { 3 | static bool isMobile(BuildContext context) { 4 | return MediaQuery.of(context).size.width <= 600; 5 | } 6 | 7 | static double widthOfScreen(BuildContext context) { 8 | return MediaQuery.of(context).size.width; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /lib/Story App/Model/info.dart: -------------------------------------------------------------------------------- 1 | List images = [ 2 | "image/mountain.png", 3 | "image/sea.png", 4 | "image/way.png", 5 | "image/green nature.png", 6 | "image/image_01.png", 7 | ]; 8 | 9 | List title = [ 10 | "Power of Nature", 11 | "I Love to Enjoy Alone", 12 | "Beauty of Nature", 13 | "Tree Save the Life", 14 | "Jack the Persian and the Black Castel", 15 | ]; 16 | -------------------------------------------------------------------------------- /lib/Timer/coundown_timer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/lib/Timer/coundown_timer.dart -------------------------------------------------------------------------------- /lib/Tips and Tricks/bulk_decleration.dart: -------------------------------------------------------------------------------- 1 | // class Footballer { 2 | // String firstName = "Lionel"; 3 | // String middleName = "Andrés"; 4 | // String lastName = "Messi"; 5 | 6 | // late double weightKG; 7 | // late double heightCM; 8 | 9 | // late int goals; 10 | // late int assists; 11 | // late int tackles; 12 | // late int takeons; 13 | // late int saves; 14 | // late int shots; 15 | // } 16 | 17 | // The class above can be replaced with: 18 | class Footballer { 19 | String firstName = "Lionel", middleName = "Andrés", lastName = "Messi"; 20 | 21 | late double weightKG, heightCM; 22 | 23 | late int goals, assists, tackles, takeons, saves, shots; 24 | } 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/YouTube Video Player/youtube_video_player.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:youtube_player_flutter/youtube_player_flutter.dart'; 3 | 4 | // Define the main widget for the YouTube video player 5 | class YoutubeVideoPlayerFlutter extends StatefulWidget { 6 | const YoutubeVideoPlayerFlutter({super.key}); 7 | 8 | @override 9 | State createState() => 10 | _YoutubeVideoPlayerFlutterState(); 11 | } 12 | 13 | class _YoutubeVideoPlayerFlutterState extends State { 14 | //URL of th YouTube Video 15 | final videoURL = "https://youtu.be/yz2Iryuln2s?si=42oSyTnbno-xCkHO"; 16 | // Controller to manage the Youtube video 17 | late YoutubePlayerController playerController; 18 | // Initialize the state 19 | @override 20 | void initState() { 21 | final videoId = YoutubePlayer.convertUrlToId(videoURL); 22 | // Initialize the youtube player controller with the video id 23 | playerController = YoutubePlayerController( 24 | initialVideoId: videoId!, 25 | flags: const YoutubePlayerFlags( 26 | autoPlay: false) // do not auto-play the video 27 | ); 28 | super.initState(); 29 | } 30 | 31 | // Method to seek forward 10 seconds 32 | void seekForward() { 33 | final currentPosition = playerController.value.position; 34 | final duration = playerController.value.metaData.duration; 35 | if (currentPosition.inSeconds + 10 < duration.inSeconds) { 36 | playerController.seekTo( 37 | currentPosition + const Duration(seconds: 10), 38 | ); 39 | } 40 | } 41 | 42 | // Method to seek backward 10 seconds 43 | void seekBackward() { 44 | final currentPosition = playerController.value.position; 45 | if (currentPosition.inSeconds - 10 > 0) { 46 | playerController.seekTo(currentPosition - const Duration(seconds: 10)); 47 | } 48 | } 49 | 50 | @override 51 | Widget build(BuildContext context) { 52 | return Scaffold( 53 | appBar: AppBar( 54 | backgroundColor: Colors.blue, 55 | foregroundColor: Colors.white, 56 | title: const Text("Play YouTube Video on Flutter App"), 57 | ), 58 | body: Stack( 59 | children: [ 60 | YoutubePlayer(controller: playerController), 61 | Positioned( 62 | top: 100,right: 100,left: 100,bottom: 100, 63 | child: Row( 64 | mainAxisAlignment: MainAxisAlignment.center, 65 | children: [ 66 | IconButton( 67 | onPressed: seekBackward, 68 | icon: const Icon(Icons.replay_10,size: 30,color: Colors.white54,), 69 | ), 70 | const SizedBox(width: 30), 71 | IconButton( 72 | onPressed: seekForward, 73 | icon: const Icon(Icons.forward_10,size: 30,color: Colors.white54,), 74 | ), 75 | ], 76 | ), 77 | ), 78 | ], 79 | ), 80 | ); 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /lib/local_authentication.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/services.dart'; 3 | import 'package:local_auth/local_auth.dart'; 4 | 5 | class FaceFingerPrintAuth extends StatefulWidget { 6 | const FaceFingerPrintAuth({super.key}); 7 | 8 | @override 9 | State createState() => _FaceFingerPrintAuthState(); 10 | } 11 | 12 | class _FaceFingerPrintAuthState extends State { 13 | late final LocalAuthentication myauthentication; 14 | bool authState = false; 15 | @override 16 | void initState() { 17 | super.initState(); 18 | myauthentication = LocalAuthentication(); 19 | myauthentication.isDeviceSupported().then( 20 | (bool myAuth) => setState( 21 | () { 22 | authState = myAuth; 23 | }, 24 | ), 25 | ); 26 | } 27 | 28 | @override 29 | Widget build(BuildContext context) { 30 | return Scaffold( 31 | backgroundColor: Colors.blue[50], 32 | appBar: AppBar( 33 | title: const Text('Flutter Biometrics Authentication'), 34 | ), 35 | body: Center( 36 | child: Column( 37 | mainAxisAlignment: MainAxisAlignment.center, 38 | children: [ 39 | ElevatedButton( 40 | style: ElevatedButton.styleFrom( 41 | backgroundColor: Colors.blueAccent, 42 | ), 43 | onPressed: authentication, 44 | child: const Text( 45 | "Authenticate", 46 | style: TextStyle( 47 | fontWeight: FontWeight.bold, color: Colors.white), 48 | )) 49 | ], 50 | ), 51 | ), 52 | ); 53 | } 54 | 55 | Future authentication() async { 56 | try { 57 | bool isAuthenticate = await myauthentication.authenticate( 58 | localizedReason: " local authentication", 59 | options: const AuthenticationOptions( 60 | stickyAuth: true, 61 | // if you have choose biometricOnly to truel it not show other option to authenticate 62 | biometricOnly: true, 63 | ), 64 | ); 65 | print("Authentication Status is: $isAuthenticate"); 66 | } on PlatformException catch (e) { 67 | print(e); 68 | } 69 | if (!mounted) { 70 | return; 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_example/Flutter%20UI/Book%20%20App%20UI/Views/book_home_screen.dart'; 3 | 4 | void main() { 5 | runApp(const MyApp()); 6 | } 7 | 8 | // This widget is the root of your application. 9 | class MyApp extends StatelessWidget { 10 | const MyApp({super.key}); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return const MaterialApp( 15 | debugShowCheckedModeBanner: false, 16 | home: BooksHome(), 17 | ); 18 | } 19 | } 20 | 21 | 22 | 23 | 24 | 25 | // theme: ThemeData( 26 | // appBarTheme: const AppBarTheme( 27 | // backgroundColor: kbackgroundColor, 28 | // ), 29 | // scaffoldBackgroundColor: kbackgroundColor, 30 | // colorScheme: ColorScheme.fromSeed(seedColor: kprimaryColor), 31 | // useMaterial3: true, 32 | // ), 33 | 34 | // Widget build(BuildContext context) { 35 | // return MultiProvider( 36 | // providers: [ 37 | // ChangeNotifierProvider( 38 | // create: (context) => CartProvider(), 39 | // ), 40 | // ], 41 | // child: const MaterialApp( 42 | // debugShowCheckedModeBanner: false, 43 | // home: AppOnBoardPage(), 44 | // ), 45 | // ); 46 | // } 47 | -------------------------------------------------------------------------------- /lib/parallax_effect.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ParallaxEffect extends StatefulWidget { 4 | const ParallaxEffect({super.key}); 5 | 6 | @override 7 | State createState() => _ParallaxEffectState(); 8 | } 9 | 10 | class _ParallaxEffectState extends State { 11 | // List of text string to display on each page 12 | List texts = [ 13 | 'Parallax Effect', 14 | 'Beauty of Nature', 15 | 'Power of Flower', 16 | ' Just Feel It', 17 | 'Himalayan Look', 18 | ]; 19 | 20 | // ScrollController to track and manage the scroll position 21 | late ScrollController scrollController; 22 | @override 23 | void initState() { 24 | scrollController = ScrollController(); 25 | super.initState(); 26 | // add a listener to the ScrollController to trigger a rebuild on scroll 27 | scrollController.addListener(() { 28 | setState(() {}); 29 | }); 30 | } 31 | 32 | @override 33 | Widget build(BuildContext context) { 34 | Size size = MediaQuery.of(context).size; 35 | return Scaffold( 36 | body: ListView.builder( 37 | // Assign the ScrollController to the listView 38 | 39 | controller: scrollController, 40 | itemCount: 5, 41 | itemBuilder: (context, index) { 42 | return Container( 43 | height: size.height, 44 | clipBehavior: Clip.hardEdge, 45 | decoration: const BoxDecoration(), 46 | child: Stack( 47 | children: [ 48 | // Background image with parallax effect 49 | Container( 50 | transform: Matrix4.identity() 51 | ..translate( 52 | 0.0, 53 | scrollController.hasClients 54 | ? (-(index * size.height) + 55 | scrollController.position.pixels) / 56 | 2 57 | : 1.0), // Calculate the vertical translation for parallax effect 58 | width: size.width, 59 | height: size.height, 60 | child: Image.asset( 61 | 'image/image${index + 1}.png', 62 | fit: BoxFit.cover, 63 | ), // my image name is image1,image2,image3... image5, that's why 64 | // i give image${index + 1}.png' you can give the same name what i have give or manage it accordingly with your image name 65 | ), 66 | Center( 67 | child: Text( 68 | texts[index], 69 | style: const TextStyle( 70 | fontWeight: FontWeight.bold, 71 | fontSize: 50, 72 | color: Colors.white, 73 | ), 74 | ), 75 | ) 76 | ], 77 | ), 78 | ); 79 | }, 80 | ), 81 | ); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /lib/quiz/Services/api_services.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | import 'package:http/http.dart' as http; 3 | 4 | var link = "https://opentdb.com/api.php?amount=20"; 5 | 6 | getQuiz() async { 7 | var res = await http.get(Uri.parse(link)); 8 | if (res.statusCode == 200) { 9 | var data = jsonDecode(res.body.toString()); 10 | print("data is loaded"); 11 | return data; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /lib/quiz/const/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | const blue = Color.fromARGB(255, 32, 67, 224); 4 | const darkBlue = Color(0xff3442af); 5 | const bgColor = Color(0xffe4ecfa); 6 | const lightgrey = Color(0xffb8c6e6); 7 | -------------------------------------------------------------------------------- /lib/send_email.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_email_sender/flutter_email_sender.dart'; 3 | 4 | class SendEmailFromFlutterApp extends StatefulWidget { 5 | const SendEmailFromFlutterApp({super.key}); 6 | 7 | @override 8 | State createState() => 9 | _SendEmailFromFlutterAppState(); 10 | } 11 | 12 | class _SendEmailFromFlutterAppState extends State { 13 | final key = GlobalKey(); 14 | TextEditingController email = TextEditingController(); 15 | TextEditingController subject = TextEditingController(); 16 | 17 | TextEditingController body = TextEditingController(); 18 | sendEmail(String subject, String body, String recipient) async { 19 | final Email email = Email( 20 | body: body, 21 | subject: subject, 22 | recipients: [recipient], 23 | isHTML: false, 24 | ); 25 | await FlutterEmailSender.send(email); 26 | } 27 | 28 | @override 29 | Widget build(BuildContext context) { 30 | return Scaffold( 31 | body: Padding( 32 | padding: const EdgeInsets.all(15), 33 | child: Form( 34 | key: key, 35 | child: Column( 36 | mainAxisAlignment: MainAxisAlignment.center, 37 | children: [ 38 | TextField( 39 | controller: email, 40 | decoration: const InputDecoration( 41 | hintText: "Enter email", 42 | border: OutlineInputBorder(), 43 | ), 44 | ), 45 | const SizedBox(height: 10), 46 | TextField( 47 | controller: subject, 48 | decoration: const InputDecoration( 49 | hintText: "Enter subject", 50 | border: OutlineInputBorder(), 51 | ), 52 | ), 53 | const SizedBox(height: 10), 54 | TextField( 55 | controller: body, 56 | decoration: const InputDecoration( 57 | hintText: "Enter body", 58 | border: OutlineInputBorder(), 59 | ), 60 | ), 61 | const SizedBox(height: 10), 62 | ElevatedButton( 63 | onPressed: () { 64 | key.currentState!.save(); 65 | sendEmail(subject.text, body.text, email.text); 66 | // clear the text field after send the mail 67 | subject.clear(); 68 | body.clear(); 69 | email.clear(); 70 | }, 71 | child: const Text("Send Mail"),) 72 | ], 73 | ), 74 | ), 75 | ), 76 | ); 77 | } 78 | } 79 | // ok thank you that's it for today video. -------------------------------------------------------------------------------- /linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /linux/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | #include 11 | 12 | void fl_register_plugins(FlPluginRegistry* registry) { 13 | g_autoptr(FlPluginRegistrar) audioplayers_linux_registrar = 14 | fl_plugin_registry_get_registrar_for_plugin(registry, "AudioplayersLinuxPlugin"); 15 | audioplayers_linux_plugin_register_with_registrar(audioplayers_linux_registrar); 16 | g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = 17 | fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); 18 | url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); 19 | } 20 | -------------------------------------------------------------------------------- /linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /linux/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | audioplayers_linux 7 | url_launcher_linux 8 | ) 9 | 10 | list(APPEND FLUTTER_FFI_PLUGIN_LIST 11 | ) 12 | 13 | set(PLUGIN_BUNDLED_LIBRARIES) 14 | 15 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 16 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) 17 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 18 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 19 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 20 | endforeach(plugin) 21 | 22 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) 23 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) 24 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) 25 | endforeach(ffi_plugin) 26 | -------------------------------------------------------------------------------- /linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import audioplayers_darwin 9 | import connectivity_plus 10 | import path_provider_foundation 11 | import speech_to_text_macos 12 | import url_launcher_macos 13 | 14 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 15 | AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin")) 16 | ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) 17 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 18 | SpeechToTextMacosPlugin.register(with: registry.registrar(forPlugin: "SpeechToTextMacosPlugin")) 19 | UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) 20 | } 21 | -------------------------------------------------------------------------------- /macos/Podfile: -------------------------------------------------------------------------------- 1 | platform :osx, '10.14' 2 | 3 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 4 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 5 | 6 | project 'Runner', { 7 | 'Debug' => :debug, 8 | 'Profile' => :release, 9 | 'Release' => :release, 10 | } 11 | 12 | def flutter_root 13 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) 14 | unless File.exist?(generated_xcode_build_settings_path) 15 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" 16 | end 17 | 18 | File.foreach(generated_xcode_build_settings_path) do |line| 19 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 20 | return matches[1].strip if matches 21 | end 22 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" 23 | end 24 | 25 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 26 | 27 | flutter_macos_podfile_setup 28 | 29 | target 'Runner' do 30 | use_frameworks! 31 | use_modular_headers! 32 | 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) 34 | target 'RunnerTests' do 35 | inherit! :search_paths 36 | end 37 | end 38 | 39 | post_install do |installer| 40 | installer.pods_project.targets.each do |target| 41 | flutter_additional_macos_build_settings(target) 42 | end 43 | end 44 | -------------------------------------------------------------------------------- /macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlutterMacOS (1.0.0) 3 | - speech_to_text_macos (0.0.1): 4 | - FlutterMacOS 5 | 6 | DEPENDENCIES: 7 | - FlutterMacOS (from `Flutter/ephemeral`) 8 | - speech_to_text_macos (from `Flutter/ephemeral/.symlinks/plugins/speech_to_text_macos/macos`) 9 | 10 | EXTERNAL SOURCES: 11 | FlutterMacOS: 12 | :path: Flutter/ephemeral 13 | speech_to_text_macos: 14 | :path: Flutter/ephemeral/.symlinks/plugins/speech_to_text_macos/macos 15 | 16 | SPEC CHECKSUMS: 17 | FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 18 | speech_to_text_macos: ae04291713998dede24b85d3b50bd8fedcbfb565 19 | 20 | PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367 21 | 22 | COCOAPODS: 1.15.2 23 | -------------------------------------------------------------------------------- /macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "16x16", 5 | "idiom" : "mac", 6 | "filename" : "app_icon_16.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "16x16", 11 | "idiom" : "mac", 12 | "filename" : "app_icon_32.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "32x32", 17 | "idiom" : "mac", 18 | "filename" : "app_icon_32.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "32x32", 23 | "idiom" : "mac", 24 | "filename" : "app_icon_64.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "128x128", 29 | "idiom" : "mac", 30 | "filename" : "app_icon_128.png", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "size" : "128x128", 35 | "idiom" : "mac", 36 | "filename" : "app_icon_256.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "256x256", 41 | "idiom" : "mac", 42 | "filename" : "app_icon_256.png", 43 | "scale" : "1x" 44 | }, 45 | { 46 | "size" : "256x256", 47 | "idiom" : "mac", 48 | "filename" : "app_icon_512.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "512x512", 53 | "idiom" : "mac", 54 | "filename" : "app_icon_512.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "512x512", 59 | "idiom" : "mac", 60 | "filename" : "app_icon_1024.png", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = flutter_example 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved. 15 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | flutter_example 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flutter_example", 3 | "short_name": "flutter_example", 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 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | void RegisterPlugins(flutter::PluginRegistry* registry) { 15 | AudioplayersWindowsPluginRegisterWithRegistrar( 16 | registry->GetRegistrarForPlugin("AudioplayersWindowsPlugin")); 17 | ConnectivityPlusWindowsPluginRegisterWithRegistrar( 18 | registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin")); 19 | LocalAuthPluginRegisterWithRegistrar( 20 | registry->GetRegistrarForPlugin("LocalAuthPlugin")); 21 | UrlLauncherWindowsRegisterWithRegistrar( 22 | registry->GetRegistrarForPlugin("UrlLauncherWindows")); 23 | } 24 | -------------------------------------------------------------------------------- /windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /windows/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | audioplayers_windows 7 | connectivity_plus 8 | local_auth_windows 9 | url_launcher_windows 10 | ) 11 | 12 | list(APPEND FLUTTER_FFI_PLUGIN_LIST 13 | ) 14 | 15 | set(PLUGIN_BUNDLED_LIBRARIES) 16 | 17 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 18 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) 19 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 20 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 21 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 22 | endforeach(plugin) 23 | 24 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) 25 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) 26 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) 27 | endforeach(ffi_plugin) 28 | -------------------------------------------------------------------------------- /windows/runner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.14) 2 | project(runner LANGUAGES CXX) 3 | 4 | # Define the application target. To change its name, change BINARY_NAME in the 5 | # top-level CMakeLists.txt, not the value here, or `flutter run` will no longer 6 | # work. 7 | # 8 | # Any new source files that you add to the application should be added here. 9 | add_executable(${BINARY_NAME} WIN32 10 | "flutter_window.cpp" 11 | "main.cpp" 12 | "utils.cpp" 13 | "win32_window.cpp" 14 | "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" 15 | "Runner.rc" 16 | "runner.exe.manifest" 17 | ) 18 | 19 | # Apply the standard set of build settings. This can be removed for applications 20 | # that need different build settings. 21 | apply_standard_settings(${BINARY_NAME}) 22 | 23 | # Add preprocessor definitions for the build version. 24 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") 25 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") 26 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") 27 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") 28 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") 29 | 30 | # Disable Windows macros that collide with C++ standard library functions. 31 | target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") 32 | 33 | # Add dependency libraries and include directories. Add any application-specific 34 | # dependencies here. 35 | target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) 36 | target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") 37 | target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") 38 | 39 | # Run the Flutter tool portions of the build. This must not be removed. 40 | add_dependencies(${BINARY_NAME} flutter_assemble) 41 | -------------------------------------------------------------------------------- /windows/runner/flutter_window.cpp: -------------------------------------------------------------------------------- 1 | #include "flutter_window.h" 2 | 3 | #include 4 | 5 | #include "flutter/generated_plugin_registrant.h" 6 | 7 | FlutterWindow::FlutterWindow(const flutter::DartProject& project) 8 | : project_(project) {} 9 | 10 | FlutterWindow::~FlutterWindow() {} 11 | 12 | bool FlutterWindow::OnCreate() { 13 | if (!Win32Window::OnCreate()) { 14 | return false; 15 | } 16 | 17 | RECT frame = GetClientArea(); 18 | 19 | // The size here must match the window dimensions to avoid unnecessary surface 20 | // creation / destruction in the startup path. 21 | flutter_controller_ = std::make_unique( 22 | frame.right - frame.left, frame.bottom - frame.top, project_); 23 | // Ensure that basic setup of the controller was successful. 24 | if (!flutter_controller_->engine() || !flutter_controller_->view()) { 25 | return false; 26 | } 27 | RegisterPlugins(flutter_controller_->engine()); 28 | SetChildContent(flutter_controller_->view()->GetNativeWindow()); 29 | 30 | flutter_controller_->engine()->SetNextFrameCallback([&]() { 31 | this->Show(); 32 | }); 33 | 34 | // Flutter can complete the first frame before the "show window" callback is 35 | // registered. The following call ensures a frame is pending to ensure the 36 | // window is shown. It is a no-op if the first frame hasn't completed yet. 37 | flutter_controller_->ForceRedraw(); 38 | 39 | return true; 40 | } 41 | 42 | void FlutterWindow::OnDestroy() { 43 | if (flutter_controller_) { 44 | flutter_controller_ = nullptr; 45 | } 46 | 47 | Win32Window::OnDestroy(); 48 | } 49 | 50 | LRESULT 51 | FlutterWindow::MessageHandler(HWND hwnd, UINT const message, 52 | WPARAM const wparam, 53 | LPARAM const lparam) noexcept { 54 | // Give Flutter, including plugins, an opportunity to handle window messages. 55 | if (flutter_controller_) { 56 | std::optional result = 57 | flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, 58 | lparam); 59 | if (result) { 60 | return *result; 61 | } 62 | } 63 | 64 | switch (message) { 65 | case WM_FONTCHANGE: 66 | flutter_controller_->engine()->ReloadSystemFonts(); 67 | break; 68 | } 69 | 70 | return Win32Window::MessageHandler(hwnd, message, wparam, lparam); 71 | } 72 | -------------------------------------------------------------------------------- /windows/runner/flutter_window.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_FLUTTER_WINDOW_H_ 2 | #define RUNNER_FLUTTER_WINDOW_H_ 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | 9 | #include "win32_window.h" 10 | 11 | // A window that does nothing but host a Flutter view. 12 | class FlutterWindow : public Win32Window { 13 | public: 14 | // Creates a new FlutterWindow hosting a Flutter view running |project|. 15 | explicit FlutterWindow(const flutter::DartProject& project); 16 | virtual ~FlutterWindow(); 17 | 18 | protected: 19 | // Win32Window: 20 | bool OnCreate() override; 21 | void OnDestroy() override; 22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, 23 | LPARAM const lparam) noexcept override; 24 | 25 | private: 26 | // The project to run. 27 | flutter::DartProject project_; 28 | 29 | // The Flutter instance hosted by this window. 30 | std::unique_ptr flutter_controller_; 31 | }; 32 | 33 | #endif // RUNNER_FLUTTER_WINDOW_H_ 34 | -------------------------------------------------------------------------------- /windows/runner/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "flutter_window.h" 6 | #include "utils.h" 7 | 8 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, 9 | _In_ wchar_t *command_line, _In_ int show_command) { 10 | // Attach to console when present (e.g., 'flutter run') or create a 11 | // new console when running with a debugger. 12 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { 13 | CreateAndAttachConsole(); 14 | } 15 | 16 | // Initialize COM, so that it is available for use in the library and/or 17 | // plugins. 18 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); 19 | 20 | flutter::DartProject project(L"data"); 21 | 22 | std::vector command_line_arguments = 23 | GetCommandLineArguments(); 24 | 25 | project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); 26 | 27 | FlutterWindow window(project); 28 | Win32Window::Point origin(10, 10); 29 | Win32Window::Size size(1280, 720); 30 | if (!window.Create(L"flutter_example", origin, size)) { 31 | return EXIT_FAILURE; 32 | } 33 | window.SetQuitOnClose(true); 34 | 35 | ::MSG msg; 36 | while (::GetMessage(&msg, nullptr, 0, 0)) { 37 | ::TranslateMessage(&msg); 38 | ::DispatchMessage(&msg); 39 | } 40 | 41 | ::CoUninitialize(); 42 | return EXIT_SUCCESS; 43 | } 44 | -------------------------------------------------------------------------------- /windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nabinji/Flutter_example_Youtube/62c2efd3c48909898c68be81b01c3c2646c6f3a2/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /windows/runner/runner.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PerMonitorV2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /windows/runner/utils.cpp: -------------------------------------------------------------------------------- 1 | #include "utils.h" 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | void CreateAndAttachConsole() { 11 | if (::AllocConsole()) { 12 | FILE *unused; 13 | if (freopen_s(&unused, "CONOUT$", "w", stdout)) { 14 | _dup2(_fileno(stdout), 1); 15 | } 16 | if (freopen_s(&unused, "CONOUT$", "w", stderr)) { 17 | _dup2(_fileno(stdout), 2); 18 | } 19 | std::ios::sync_with_stdio(); 20 | FlutterDesktopResyncOutputStreams(); 21 | } 22 | } 23 | 24 | std::vector GetCommandLineArguments() { 25 | // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. 26 | int argc; 27 | wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); 28 | if (argv == nullptr) { 29 | return std::vector(); 30 | } 31 | 32 | std::vector command_line_arguments; 33 | 34 | // Skip the first argument as it's the binary name. 35 | for (int i = 1; i < argc; i++) { 36 | command_line_arguments.push_back(Utf8FromUtf16(argv[i])); 37 | } 38 | 39 | ::LocalFree(argv); 40 | 41 | return command_line_arguments; 42 | } 43 | 44 | std::string Utf8FromUtf16(const wchar_t* utf16_string) { 45 | if (utf16_string == nullptr) { 46 | return std::string(); 47 | } 48 | unsigned int target_length = ::WideCharToMultiByte( 49 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, 50 | -1, nullptr, 0, nullptr, nullptr) 51 | -1; // remove the trailing null character 52 | int input_length = (int)wcslen(utf16_string); 53 | std::string utf8_string; 54 | if (target_length == 0 || target_length > utf8_string.max_size()) { 55 | return utf8_string; 56 | } 57 | utf8_string.resize(target_length); 58 | int converted_length = ::WideCharToMultiByte( 59 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, 60 | input_length, utf8_string.data(), target_length, nullptr, nullptr); 61 | if (converted_length == 0) { 62 | return std::string(); 63 | } 64 | return utf8_string; 65 | } 66 | -------------------------------------------------------------------------------- /windows/runner/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_UTILS_H_ 2 | #define RUNNER_UTILS_H_ 3 | 4 | #include 5 | #include 6 | 7 | // Creates a console for the process, and redirects stdout and stderr to 8 | // it for both the runner and the Flutter library. 9 | void CreateAndAttachConsole(); 10 | 11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string 12 | // encoded in UTF-8. Returns an empty std::string on failure. 13 | std::string Utf8FromUtf16(const wchar_t* utf16_string); 14 | 15 | // Gets the command line arguments passed in as a std::vector, 16 | // encoded in UTF-8. Returns an empty std::vector on failure. 17 | std::vector GetCommandLineArguments(); 18 | 19 | #endif // RUNNER_UTILS_H_ 20 | --------------------------------------------------------------------------------