flutter_thirukural
A Flutter package to easily integrate Thirukural into your Flutter apps. This package provides UI widgets and screens to display Thirukurals in various ways β by number, section, chapter, or the Kural of the day. Perfect for apps focused on Tamil culture, literature, or daily wisdom!
β¨ Features
- Display the Thirukural of the day
- Fetch a Kural by its number
- Show all Kurals in a range
- Browse Kurals by Tamil or English chapter names
- Display section names and their Kurals
- Highly customizable widgets
- Responsive design
π Usage
Import the package: import 'package:flutter_thirukural/flutter_thirukural.dart';
Example 1 β Thirukural of the Day ThirukuralOfTheDay(date: '2025-06-12')
Example 2 β Get Kural by Number ThirukuralByNumber(kuralNumber: 12)
Example 3 β All Thirukurals AllThirukurals()
Example 4 β Kurals in a Range ThirukuralInRange(from: 1, to: 10)
Example 5 β Section Names ThirukuralBySectionNames()
Example 6 β Tamil Chapter Names ThirukuralByTamilChapterNames()
Example 7 β English Chapter Names ThirukuralByEnglishChapterNames()
πΌοΈ Screenshots
π€ Contributing Contributions are welcome!
- Fork this repo
- Create a new branch
- Commit your changes
- Open a Pull Request
π Issues If you face any issues while using flutter_thirukural, please: Create an issue on GitHub Or email me directly at: sanjayprasathg24cse@gmail.com
Iβll be happy to help!
β Buy Me a Coffee If this package helped you, you can support my work:
π€ Maintainer Name: Sanjay Prasath Ganesh GitHub: github.com/SanjayPrasathG LinkedIn: https://www.linkedin.com/in/sanjay-prasath-ganesh/
π License This project is licensed under the MIT License β see the LICENSE file for details.
π¦ Installation
Add this to your pubspec.yaml
:
dependencies:
flutter_thirukural: ^1.0.0
Libraries
- flutter_thirukural
- helpers/common_helpers
- main
- model/api_response_model
- model/kural_model
- services/api_services/api_services
- services/api_services/url_services
- states/kural_state
- view/packages/all_thirukurals
- view/packages/thirukural_by_number
- view/packages/thirukural_of_the_day
- view/packages/thirukurals_by_english_chapter_names
- view/packages/thirukurals_by_section_names
- view/packages/thirukurals_by_tamil_chapter_names
- view/packages/thirukurals_in_range
- view/screens/all_kurals_in_range_screen
- view/screens/all_kurals_screen
- view/screens/get_kural_by_number
- view/screens/get_kural_of_day_screen
- view/screens/kural_home_screen
- view/screens/section_names_screen
- view/screens/thirukural_by_english_chapter_names_screen
- view/screens/thirukural_by_tamil_chapter_names_screen
- view/widgets/common_colors
- view/widgets/common_widgets
- view/widgets/custom_app_bar
- view/widgets/custom_dropdown
- view_model/kural_view_model