Flutter-for-Wordpress-App - Cross platform wordpress news app built with Flutter and WP REST API

Overview
Daily Logo

Flutter for Wordpress

A flutter app for a wordpress websites with clean and elegant design. This app is available in free and pro version. You can choose to use the one you need.

Codemagic build status

alt text

πŸ“Œ Get Flutter for Wordpress

Flutter for wordpress is currently available in free and pro version:

Flutter for Wordpress Flutter for Wordpress Pro

alt text

alt text

  • Beautiful design
  • Optimized wordpress API
  • Latest Posts, Featured Posts, and Categories post in the app
  • Supports video in the post thumbnail
  • Supports embedded video inside the post
  • Post Comments and Share
  • Infinite Scroll
  • Related posts
  • Posts search feature
  • Setting page
  • Firebase Notification
  • Beautiful design
  • Optimized wordpress API
  • Latest Posts, Featured Posts, and Categories post in the app
  • Supports video in the post thumbnail
  • Supports embedded video inside the post
  • Post Comments and Share
  • Infinite Scroll
  • Related posts
  • Posts search feature
  • Setting page
  • One Signal Notification (Notification when post is updated in wordpress dashboard)
  • Dark theme
  • Admob integrated
  • Dynamic deep link integrated
  • Caching mechanism
  • Documentation

alt text

alt text

Free and Open Source

39$ on codecanyon

alt text

alt text

πŸš€ Installation

You need to have a wordpress website before you implement the app.

If you have a wordpress website already then follow the simple steps given below to build your own Wordpress Flutter App.

πŸ”₯ Install a wordpress plugin

Install Flutter for wordpress (wp plugin) in your wordpress website before you build a mobile application. This plugin is important for the enhancement of the performance in the app. Always keep this plugin active for the mobile app to run smoothly.

If you do not want to install the plugin then you can edit the functions.php file in child theme.

πŸ“Œ Edit your wordpress theme (Skip if plugin installed)

Update the wordpress functions.php file on your theme by appending the following code at the end. The app will not function correctly if this step is not followed.

function flutter_news_rest_prepare_post($data, $post, $request) {
    $_data = $data->data;
    $_data["custom"]["td_video"] = get_post_meta($post->ID, 'td_post_video', true) ?? '';
    $_data['custom']["featured_image"] = get_the_post_thumbnail_url($post->ID, "original") ?? '';
    $_data['custom']["author"]["name"]   = get_author_name($_data['author']);
    $_data['custom']["author"]["avatar"] = get_avatar_url($_data['author']);
    $_data['custom']["categories"] = get_the_category($_data["id"]);
    $data->data = $_data;
    return $data;
}

add_filter('rest_prepare_post', 'flutter_news_rest_prepare_post', 10, 3);

// Enable comment without being loggedin
function filter_rest_allow_anonymous_comments() {
    return true;
}

add_filter('rest_allow_anonymous_comments','filter_rest_allow_anonymous_comments');

πŸ”¨ Edit the constants

Change the constants from the ./lib/common/constants.dart file. For the categories name and ID refer to your wordpress website.

// Your wordpress website URL
const String WORDPRESS_URL = "https://flutterblog.crumet.com"; 

// Featured category ID (for Home Screen top section)
const int FEATURED_ID = 2;

// Tab 2 page category name
const String PAGE2_CATEGORY_NAME = "Lifestyle";

// Tab 2 page category ID
const int PAGE2_CATEGORY_ID = 6;

// Custom categories in search tab
// Array in format
// ["Category Name", "Image Link", "Category ID"]
const List<dynamic> CUSTOM_CATEGORIES = [
  ["Lifestyle", "assets/boxed/lifestyle.png", 6],
  ["Fashion", "assets/boxed/fashion.png", 12],
  ["Music", "assets/boxed/music.png", 14],
  ["Photography", "assets/boxed/photography.png", 15],
  ["Sport", "assets/boxed/sport.png", 13],
  ["World", "assets/boxed/world.png", 11],
  ["Health", "assets/boxed/health.png", 8],
  ["Travel", "assets/boxed/travel.png", 7],
  ["Recipies", "assets/boxed/recipies.png", 10],
];

πŸ”” Push Notification (Optional)

gh This project uses firebase messaging for push notification.

To integrate push notification from firebase follow the steps:

  • Go to firebase console
  • Generate and Download google-services.json file
  • Place google-services.json file inside android/app
  • It should be ready now. Test your push notification.

For further instruction read documentation from https://pub.dev/packages/firebase_messaging

πŸ“± Screenshots

alt text alt text alt text
alt text alt text alt text
alt text alt text alt text
alt text alt text alt text

πŸ™Œ Want to Contribute?

We are open to all kinds of contributions. If you want to:

  • πŸ€” Suggest a feature
  • πŸ› Report an issue
  • πŸ‘¨β€πŸ’» Contribute to the code

πŸ“‘ LICENCE

Released under the MIT License.

Comments
  • how can i run on iOS

    how can i run on iOS

    when im trying to emulate on iphone i get this error . Im new on Flutter great job on this code bro

    Error connecting to the service protocol: failed to connect to http://127.0.0.1:59248/ZV9h0hFquR0=/

    full error code:

    ( 0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48 2 CoreFoundation 0x00007fff23c710bc +[NSException raise:format:] + 188 3 Runner 0x0000000105bc3b9a +[FIRApp configure] + 138 4 Runner 0x0000000105cecd6c -[FLTFirebaseMessagingPlugin initWithChannel:] + 268 5 Runner 0x0000000105cecb54 +[FLTFirebaseMessagingPlugin registerWithRegistrar:] + 196 6 Runner 0x0000000105bbea93 +[GeneratedPluginRegistrant registerWithRegistry:] + 115 7 Runner <…> Error connecting to the service protocol: failed to connect to http://127.0.0.1:59248/ZV9h0hFquR0=/ Exited (sigterm)

    opened by grupoinnovar 5
  • error: Target of URI doesn't exist: 'package:share/share.dart'.

    error: Target of URI doesn't exist: 'package:share/share.dart'.

    I successfully built the app the first time but the second time this errors showed up please help me,

    error: Target of URI doesn't exist: 'package:share/share.dart'. (uri_does_not_exist at [flutter_wordpress_app] lib\pages\settings.dart:2) error: Undefined name 'Share'. (undefined_identifier at [flutter_wordpress_app] lib\pages\settings.dart:163) error: Target of URI doesn't exist: 'package:flutter_widget_from_html/flutter_widget_from_html.dart'. (uri_does_not_exist at [flutter_wordpress_app] lib\pages\single_article.dart:7) error: Target of URI doesn't exist: 'package:share/share.dart'. (uri_does_not_exist at [flutter_wordpress_app] lib\pages\single_article.dart:17) error: The method 'HtmlWidget' isn't defined for the type '_SingleArticleState'. (undefined_method at [flutter_wordpress_app] lib\pages\single_article.dart:120) error: The method 'HtmlWidget' isn't defined for the type '_SingleArticleState'. (undefined_method at [flutter_wordpress_app] lib\pages\single_article.dart:138) error: The method 'HtmlWidget' isn't defined for the type '_SingleArticleState'. (undefined_method at [flutter_wordpress_app] lib\pages\single_article.dart:158) error: The method 'HtmlWidget' isn't defined for the type '_SingleArticleState'. (undefined_method at [flutter_wordpress_app] lib\pages\single_article.dart:237) error: Undefined name 'Share'. (undefined_identifier at [flutter_wordpress_app] lib\pages\single_article.dart:329)

    when i launched

    Launching lib\main.dart on Infinix X652B in debug mode... Running Gradle task 'assembleDebug'... lib/pages/single_Article.dart:7:8: Error: Error when reading '../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_widget_from_html-0.5.1+3/lib/flutter_widget_from_html.dart': The system cannot find the path specified.

    import 'package:flutter_widget_from_html/flutter_widget_from_html.dart'; ^ lib/pages/single_article.dart:7:8: Error: Error when reading '../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_widget_from_html-0.5.1+3/lib/flutter_widget_from_html.dart': The system cannot find the path specified.

    import 'package:flutter_widget_from_html/flutter_widget_from_html.dart'; ^ lib/pages/single_Article.dart:120:48: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.

    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_Article.dart' ('lib/pages/single_Article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_Article.dart:138:52: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_Article.dart' ('lib/pages/single_Article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_Article.dart:158:52: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_Article.dart' ('lib/pages/single_Article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_Article.dart:237:32: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_Article.dart' ('lib/pages/single_Article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_article.dart:120:48: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_article.dart' ('lib/pages/single_article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_article.dart:138:52: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_article.dart' ('lib/pages/single_article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_article.dart:158:52: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_article.dart' ('lib/pages/single_article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^ lib/pages/single_article.dart:237:32: Error: The method 'HtmlWidget' isn't defined for the class '_SingleArticleState'.
    • '_SingleArticleState' is from 'package:flutter_wordpress_app/pages/single_article.dart' ('lib/pages/single_article.dart'). Try correcting the name to the name of an existing method, or defining a method named 'HtmlWidget'. child: HtmlWidget( ^^^^^^^^^^

    FAILURE: Build failed with an exception.

    • Where: Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

    • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

    Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 4m 22s Exception: Gradle task assembleDebug failed with exit code 1

    opened by Tony-Akani 3
  • Hello

    Hello

    thanks i just updated to a new flutter version but now i am still having an error, please i am kind of a beginner in flutter and proper guidance would be appreciated, the app is actually for a client and i need to test that the free version works before buying the pro version here is the error Launching lib\main.dart on Infinix X652B in debug mode... Running Gradle task 'assembleDebug'... Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Users\TONY\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\webview_flutter-0.3.24\android\src\main\java\io\flutter\plugins\webviewflutter\FlutterWebView.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

    FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:compileDebugKotlin'.

    Could not resolve all artifacts for configuration ':app:debugCompileClasspath'. Could not download x86_64_debug.jar (io.flutter:x86_64_debug:1.0.0-a1440ca392ca23e874a105c5f3248b495bd0e247) > Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-a1440ca392ca23e874a105c5f3248b495bd0e247/x86_64_debug-1.0.0-a1440ca392ca23e874a105c5f3248b495bd0e247.jar'. > Read timed out

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 8m 3s Exception: Gradle task assembleDebug failed with exit code 1

    opened by Tony-Akani 3
  • Error

    Error

    Please I encountered and error while trying to run main dart Lib/main.dart: 115:61: Error: No named parameter with the name 'label' . BottomNavigationBarItem(icon: Icon(Icons.home), label: 'Home'),


    Context: Found this candidate, But the arguments don't match const BottomNavigationaBarItem({

    opened by Tony-Akani 3
  • _Type Error

    _Type Error

    This is a really good project. I faced this error when debuging: Exception has occurred. _TypeError (type '(dynamic) => Article' is not a subtype of type '(String, dynamic) => MapEntry<dynamic, dynamic>' of 'transform')

    The error usually occures when I scroll to the end of a list of post.

    Capture

    opened by francisJun 3
  • Run error

    Run error

    Hello, I tried to run app at first time an I got this error:

      > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints: 
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'androidx.annotation:annotation:1.1.0'
           Constraint path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.lifecycle:lifecycle-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.lifecycle:lifecycle-common-java8:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0' --> 'androidx.collection:collection:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0' --> 'androidx.versionedparcelable:versionedparcelable:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.interpolator:interpolator:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.cursoradapter:cursoradapter:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.documentfile:documentfile:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.print:print:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'io.flutter.plugins.urllauncher:url_launcher:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
    
    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 2s

    opened by bal3m 3
  • Articles Caching

    Articles Caching

    Hi, bro...you did a great job.

    I think this app needs some kind of caching system to make it loads the articles faster.

    Thanks for your awesome sharing.

    enhancement 
    opened by FauzyAbdan 3
  • Problem loading website

    Problem loading website

    Hey, Using a pro version. After changing "WORDPRESS_URL" a demo url to my site url, the pro application showing no Internet error, a free version working fine.

    site url: const String WORDPRESS_URL = "https://avreviews.co.il"; const int FEATURED_ID = 509;

    Error: E/flutter (14270): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: NoSuchMethodError: Class 'String' has no instance method 'map'. E/flutter (14270): Receiver: "[{"id":14577,"date":"2021-01-12T19:55:00","link":"https:\/\/avreviews.co

    opened by tolysim 2
  • WP Push Notification using FCM

    WP Push Notification using FCM

    Hi @l3lackcurtains , I think that Flutter for WP it's a project with great potential! I had done some tests with Firebase Cloud Message using the firebase console and it's good. But I'm wondering about the possibility to receive Push notification when a post is created in WP or when someone added a comment There are some plugin for WP Push Notification FCB but I did not found some guides that solve this specific feature with this specific app.

    Until now I found this article: https://wordpress.org/support/topic/using-firebase-to-push-notification-from-wordpress/

    opened by mykesoft 2
  • Not able to find launcher dart file

    Not able to find launcher dart file

    hey bro please help me i am not able to find this https://raw.githubusercontent.com/l3lackcurtains/Flutter-for-Wordpress-App/master/resources/Screenshot_1.png launcher file so that I can edit and add my own blog logo... please reply me as soon as possible

    opened by nalin88 2
  • Error in

    Error in "Featured_Image"

    While debugging, this error pops up.

    Exception has occurred. NoSuchMethodError (NoSuchMethodError: The method '[]' was called on null. Receiver: null Tried calling: )

    opened by abdhulahadh 2
  • untranslatable parts and a suggestion

    untranslatable parts and a suggestion

    you can't translate By[author], and post time, example : (6 months ago, 3 day ago) also it will be nice if you count the app post views too and not only views from wordpress site posts

    opened by fakiri25 0
  • Integration with bbpress

    Integration with bbpress

    Hi @l3lackcurtains . This is really a nice work. Let me congrats with you. Only one question: is there a way to make an integration also with bbpress?

    Thank you

    opened by bobosette 0
  • No Connection o.O

    No Connection o.O

    Hey dear creator, I followed your documentation but got the error "no internet connection". What can that be? When I embed the Flutter Blog everything works again

    opened by MyMusic-Space 0
  • enhancement: Would be nice to deal with Multi-Lingual Blogs

    enhancement: Would be nice to deal with Multi-Lingual Blogs

    Categories would be classified with a lang pointer lang=en lang=fr lang=ar ...

    then if RTL would be nice to switch the UI to another sub-theme with its own font maybe!

    then the settings will have a tickbox for language too

    opened by LebToki 0
  • Embedded Audio is Not Playing

    Embedded Audio is Not Playing

    I have audio (.mp3) in my post which is embedded in post.

    Instead of playing button in app i am getting whole audio file link. How to get play button in the app?

    enhancement 
    opened by krishnarajsinh 1
Owner
Madhav Poudel
πŸ‘¨β€πŸ’» Full Stack Software Engineer
Madhav Poudel
Flutter wordpress - Flutter WordPress API

Flutter Wordpress pub.dev This library uses WordPress REST API V2 to provide a way for your application to interact with your WordPress website. Tutor

Dreamsoft Innovations 183 Nov 17, 2022
Flutter ios/android app to get posts from Wordpress Rest Api

A Wordpress client for Flutter This project uses a simple WordPress website as a backend, without any additional plugin. for more information about Wo

Hooshyar 177 Dec 28, 2022
News App developed with Flutter featuring beautiful UI, category-based news, story for faster news reading, inbuilt article viewer, share feature, and more.

Ariel News App developed with Flutter featuring beautiful UI, category-based news, story for faster news reading, inbuilt article viewer, share featur

Hash Studios 30 Nov 9, 2022
Zone is yet another Hacker News client, built with Flutter, Slidy, and Hacker News API.

Zone for Hacker News Zone is yet another Hacker News client, built with Flutter, Slidy, and Hacker News API. Setup Clone this repo to your machine Req

null 11 Feb 27, 2022
Flutter Viral News App using : Flutter + Rest Api + Bloc / Cubit

Intro Viral News App on Flutter. The tech used: Flutter widgets + Flutter Bloc / Cubit + Rest Api Check the screenshot : P.S Make sure to upgrade your

Ihab Zaidi 8 Nov 2, 2022
Live News App Using Rest API with Searching Functionality

News App Flutter A Simple News App built with Flutter. In this app, there is a Home page, which will display top news from newsapi.org. News categorie

Jay Gajjar 146 Dec 30, 2022
Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight Node.js based Bhagavad Gita API [An open source rest api on indian Vedic Scripture Shrimad Bhagavad Gita].

Gita Bhagavad Gita flutter app. Download App - Playstore Web Application About Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight No

Ravi Kovind 7 Apr 5, 2022
News-Flutter - News Api with flutter

News App This app use News Api. If you want to run this code, please use your ow

Brandon Rojas 2 Apr 29, 2022
News App using News Api.

newsapp A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Shripad Joshi 0 Jan 6, 2022
A WordPress API client for dart with support for WooCommerce and custom namespaces.

WordPress REST API client for Dart | Flutter Description A WordPress REST API client for dart with support for WooCommerce and custom namespaces/endpo

DHM Group 73 Nov 26, 2022
Netflix app UI clone using bloc,Rest API and TMDB for API key

netflix_flutter project_using_bloc packages Used flutter_bloc json_serializable get_it dio A few resources to get you started if this is your first Fl

Pranav Pv 16 Nov 25, 2022
Movie API Use Rest And Restful API

movie_api use rest and restful api The home screen fetches data from the Episodate API and shows a list of popular shows. The details screen and the s

Le Gia Huy 1 Dec 5, 2022
FLutter Api Integration - Flutter Rest API Integration

Flutter_Rest_Api_integration Flutter_Rest_Api_integration. Preview How To Use To

Rahul Ranjan Singh 0 Feb 17, 2022
In this video we will learn how to Create CRUD Rest API for our Flutter application using NODEJS API.

Flutter CRUD Using NodeJS API In this video we will learn how to Create CRUD Rest API for our Flutter application using NODEJS API. ?? Packages Used h

SnippetCoder 14 Dec 30, 2022
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.

Flutter permission_handler plugin The Flutter permission_handler plugin is build following the federated plugin architecture. A detailed explanation o

Baseflow 1.7k Dec 31, 2022
Google-news-app-redesign - Redesigned the ui of google news app with flutter

News app like Google news! ScreenShots If you face any problem with this project

Munem Sarker 3 Jun 23, 2022
Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster.

Readky. Introduction Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster. You just need to add

Muhammad Rezky Sulihin 54 Nov 26, 2022
News Reader App to fetch Articles from different news channels using Flutter.

News Reader This app is made using the Flutter framework. Its an mobile app to browse the News from different channels. This app uses an API provided

Sahil Kumar 84 Apr 13, 2022
Wall-street-news - News App work with HttpClient in Flutter

Flutter News App Demo This project is to showcase how to work with HttpClient in

TrαΊ§n VΔƒn NguyΓͺn 6 Oct 16, 2022