ccci_utils library

Classes

AppLogger
A utility class for logging messages in the Max Fighting Championship application.
AppTheme
This class represents a custom theme configuration for the app.
BaseApi
Base class for API calls using Dio.
BaseRepository<T>
A generic repository class for handling data retrieval from APIs.
CButton
A custom button widget that supports loading state, outline style, and gradients.
CCard
A custom card widget that provides flexible styling options such as padding, margin, border radius, outline, gradient, and background color.
CInput
CircularLoading
A circular loading indicator widget.
DioClient
The DioClient class is a wrapper around the Dio HTTP client library to simplify making HTTP requests such as GET, POST, and PUT.
RouteHandler
A utility class for handling navigation operations.

Functions

createErrorResponse(dynamic error) String
Creates an error response message based on the provided error.
main() → void

Exceptions / Errors

DioExceptions
A custom exception class that handles errors from Dio requests.