ThirukuralByTamilChapterNames class
A widget that displays Thirukurals grouped by Tamil chapter names.
Thirukural contains 133 chapters (Adhikarams), each with 10 Kurals. This widget displays all chapter names in Tamil and allows users to browse Kurals within each chapter.
Example Tamil chapter names:
- கடவுள் வாழ்த்து (The Praise of God)
- வான்சிறப்பு (The Excellence of Rain)
- நீத்தார் பெருமை (The Greatness of Ascetics)
This widget is fully self-contained and handles all necessary setup internally. You don't need to wrap your app with any special widgets to use this.
Example usage:
import 'package:flutter_thirukural/flutter_thirukural.dart';
// Display Tamil chapter browser
ThirukuralByTamilChapterNames()
// Use in navigation
Navigator.push(
context,
MaterialPageRoute(builder: (context) => ThirukuralByTamilChapterNames()),
);
Features:
- Browse all 133 chapters by Tamil name
- View all 10 Kurals within a selected chapter
- Expandable cards for detailed Kural information
- Pull-to-refresh functionality
- Responsive design for all screen sizes
- Clear filter to return to chapter selection
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- ThirukuralByTamilChapterNames
Constructors
- ThirukuralByTamilChapterNames({Key? key})
-
Creates a widget to browse Thirukurals by Tamil chapter names.
const
Properties
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited