From 9cc4bc4f9d727cd0fdffe69cd39f0c4165550c18 Mon Sep 17 00:00:00 2001 From: Sithira Munasinghe Date: Wed, 18 Feb 2026 11:20:38 +0530 Subject: [PATCH] Updated Example and Main Read me files --- README.md | 4 +++- example/README.md | 27 +++++++++++++++++---------- pubspec.yaml | 1 - 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d6c342e..79fc698 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,9 @@ const VolumeInfo({required double volume, required bool isMuted}); ## Example -![Example Player](example_player.png) +

+ Example Player +

See the [example app](example/) for a complete implementation. diff --git a/example/README.md b/example/README.md index a420841..c0339bc 100644 --- a/example/README.md +++ b/example/README.md @@ -1,16 +1,23 @@ -# flutter_radio_player_example +# Flutter Radio Player - Example -Demonstrates how to use the flutter_radio_player plugin. +A demo app showcasing the [flutter_radio_player](https://pub.dev/packages/flutter_radio_player) plugin with multiple radio stations, playback controls, and volume management. -## Getting Started +

+ Example Player +

-This project is a starting point for a Flutter application. +## Running -A few resources to get you started if this is your first Flutter project: +```bash +cd example +flutter pub get +flutter run +``` -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) +## Features Demonstrated -For help getting started with Flutter development, view the -[online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +- Initializing the player with multiple radio sources +- Play, pause, next, and previous controls +- Volume slider with real-time updates +- ICY/stream metadata display +- Station list with active station indicator \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index a2fbb61..401f10d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,5 @@ name: flutter_radio_player_workspace description: Monorepo workspace for flutter_radio_player packages. -publish_to: 'none' version: 4.0.0 homepage: https://github.com/Sithira/FlutterRadioPlayer repository: https://github.com/Sithira/FlutterRadioPlayer