Skip to content

WrathOP/blog_app

Repository files navigation

Flutter Blog App

A Flutter application for displaying a list of blogs from an external API and allowing users to view individual blog details. Users can also download blog content to their device.

Table of Contents

Introduction

This Flutter application provides a simple way to view and download blogs. It includes a list of blogs on the main screen, and users can tap on a blog to view its details. The blog details screen allows users to download the blog content. The app retrieves blog data from an external API and uses Riverpod for state management.

Features

  • Display a list of blogs with titles and images.
  • View detailed information about a blog.
  • Utilizes Riverpod for efficient state management.
  • Integrates with an external API to fetch blog data.

Getting Started

Prerequisites

  • Flutter installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/flutter-blog-app.git

2.Navigate to the project directory:

cd flutter-blog-app

3.Install dependencies:

flutter pub get

4.Install Dependencies:

flutter pub get

State Management

This app uses Riverpod for state management. State providers and notifiers are used to manage and update the app's state efficiently.

API Integration

The app integrates with an external API to fetch blog data. API calls are made using the http package or any other preferred package for making HTTP requests. Be sure to provide the API endpoint in your code.

Screenshots

Simulator Screenshot - iPhone 14 Pro Max - 2023-10-04 at 05 05 37

Simulator Screenshot - iPhone 14 Pro Max - 2023-10-04 at 05 05 44