This Flutter application (version 3.19.3) allows users to browse testimonials, perform searches, and switch between English and Indonesian languages.
-
Homepage:
- Displays testimonials in Card format.
- Each Card shows the name, avatar, content, and number of likes.
- Supports pagination to load 5 testimonials per request.
- Automatically loads more data when users scroll to the bottom of the page.
- Displays "All data have been loaded" or "Semua data berhasil dimuat" when there is no more data to load.
-
Search Functionality:
- Provides search functionality to find testimonials by name or content.
-
Language Switching:
- Allows users to switch between English (default) and Indonesian languages.
The project is structured as follows:
lib/
: Contains the Dart code for the application.cubit/
: Cubit classes for specific features.l10n/
: multilanguage dictionary.model/
: Includes models specific to each feature.service/
: Services specific to each feature, such as API calls.view/
: User interface components specific to each feature.
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd testimony
- Run
flutter pub get
to install dependencies. - Run
flutter run
to launch the app on your device or emulator.