carmanager_ui library

Classes

CarPickerDialogData
CarPickerDialogRoute
Route class to call confirm dialog Example usage:
CarPickerItemData
CloseIconButton
Use this IconButton for each dialog for close button. It already has custom size to improve click area
CMAnimation
A wrapper for Lottie animations that simplifies usage.
CMAppbar
A custom app bar widget that provides a consistent design for the application's app bar across different screens. The CMAppbar is a StatelessWidget that implements the PreferredSizeWidget interface, allowing it to be used as an app bar in a Scaffold. It includes an optional asset logo and a back navigation button if the current route can be popped from the navigation stack.
CMBriefCard
The CMBriefCard widget is used to display a brief, actionable card with an optional SVG icon, a title, and a description. It is commonly used to present succinct information paired with an action button in various UI scenarios. The card can be enabled or disabled, and when disabled, the text and icon will appear in a muted color.
CMDateButton
A custom button widget that displays a read-only text field with a suffix icon and triggers a callback when tapped.
CMDimens
CMDropdown
A custom dropdown widget that allows the user to select from a list of key-value pairs.
CMEmptyList
The CMEmptyList class is designed to present a message with customizable bold text positions and an image, commonly used to indicate an empty list state. It integrates with CMRichText for text styling and supports the use of SVG images.
CMIconButton
A customizable icon button with optional sizing and tap interaction.
CMInfoCard
The CMInfoCard widget displays an icon and a message within a styled container. The card's size can be customized via the size parameter, defaulting to 110x120. The message text is limited to a single line, truncating with ellipsis if it exceeds the available space.
CMInfoPanel
The CMInfoPanel widget displays an informational message with an optional leading icon. It's commonly used to highlight important information, tips, or warnings to the user.
CMMoneyTextField
CMMultilineTextField
CMPageTitle
A widget that displays a page title with customizable styles and an optional bottom divider.
CMRichText
A factory class for creating rich text widgets with customizable styles.
CMScrollBehavior
CMSelectableCard
The CMSelectableCard widget displays a card with a leading icon, a primary title, an optional subtitle with rich text support, and a trailing arrow icon.
CMSummaryCard
The CMSummaryCard widget displays a summary card containing a text description and a profit value. The card includes a styled title with an optional profit/loss indication. The color of the profit text changes based on whether the value represents a profit (green) or a loss (amaranth).
CMTextField
CMToggleButton
A custom toggle button widget with animated transitions and customizable background colors.
ConfirmDialogData
ConfirmDialogRoute
Route class to call confirm dialog Example usage:
ErrorDialogData
ErrorDialogRoute
Route class to call error dialog Example usage:
ExpensesLineChart
A line chart widget that displays a series of expense values.
ExpenseSummaryCard
The ExpenseSummaryCard widget represents an item with a description and value. It includes an optional delete icon, which is displayed when onDeletePressed is provided. The onDeletePressed callback is triggered when the delete icon is tapped.
HorizontalInfoCard
The HorizontalInfoCard widget displays a card with a horizontal layout featuring a textValue and a textDescription. The card is styled with a shadow and rounded corners, and it adjusts to the full width of its container.
Loader
LoadingDialogData
LoadingDialogRoute
Route class to call loading dialog Example usage:
PrimaryButton
ProfileMenuItem
The ProfileMenuItem widget presents a tappable row containing an icon, text label, and a trailing arrow. It is often used in profile screens to trigger navigation or display related options.
ProfileMenuItemModel
A data model that represents a single item in a user profile menu.
ReportTile
The ReportTile widget allows you to display a report's name text and its value value in a structured layout. It supports interaction via onPressed and optional deletion via onDelete. It conditionally displays the delete and edit icons or an arrow based on the showDeleteAndEditIcon flag.
SecondaryButton
A customizable secondary button with an outlined style. This button supports enabling/disabling states and stretches to full width.
SelectableServiceType
A widget that displays a vertical selectable list of service types. Each service type is represented by an icon, title and a description.
SelectableServiceTypeItem
SelectableVehicleType
A widget that displays a horizontally selectable list of vehicles. Each vehicle is represented by an icon and a description.
SelectableVehicleTypeItem
VehicleInfoCard
The VehicleInfoCard widget is used to display detailed information about a vehicle.
VerticalInfoCard
The VerticalInfoCard widget displays a card with a vertical layout featuring a textValue and a textDescription. The card is styled with a shadow and rounded corners, and it adjusts to the full width of its container.
WarningInfo
The WarningInfo widget is used to display a dismissible alert message with animation.

Enums

VehicleInfoCardType
Enum to define the type of VehicleInfoCard.

Constants

kAddExpenseIconRed → const Icon
kAddExpenseIconWhite → const Icon
kAlert → const Color
kAlertLight → const Color
kAmaranthPrimary → const Color
kArrowDownIcon → const Icon
kArrowForwardDisableIcon → const Icon
kArrowForwardIcon → const Icon
kBackArrowIcon → const Icon
kBarrierColor → const Color
kBoxShadowColor → const Color
kCanyonBronze → const Color
kCaptionTextStyle → const TextStyle
kCarPickerItemTextStyle → const TextStyle
kCarPickerPlateTextStyle → const TextStyle
kCarPickerTitleTextStyle → const TextStyle
kCheckIcon → const Icon
kCheckIconRed → const Icon
kCloseIcon → const Icon
kCMButtonTextStyle → const TextStyle
kCMOutLinedButtonTextStyle → const TextStyle
kContentTextStyle → const TextStyle
kCornejo → const Color
kDarkDisable → const Color
kDeleteIcon → const Icon
kDropdownIcon → const Icon
kEditIcon → const Icon
kEditReportIcon → const Icon
kEditSquareIcon → const Icon
kErrorTextStyle → const TextStyle
kExpensesLineBottomTitleTextStyle → const TextStyle
kExpensesLineChartBg → const Color
kExpensesLineTitleTextStyle → const TextStyle
kExpensesLineToolTipTextStyle → const TextStyle
kExpenseSummaryCardBg → const Color
kFileIconRed → const Icon
kGreen → const Color
kGreyDisable → const Color
kImageIconRed → const Icon
kInactiveToggleButtonSelection → const Color
kInfoCardBgColor → const Color
kInfoCardTextStyle → const TextStyle
kInfoIcon → const Icon
kkAmaranthPrimaryWithOpacity → const Color
kkMyrtleGreenWithOpacity → const Color
kLightAmaranthPrimary → const Color
kLightDividerColor → const Color
kLightShadowColor → const Color
kMediumTitleTextStyle → const TextStyle
kMonitoringIcon → const Icon
kMyrtleGreen → const Color
kPrimaryColorWithOpacityBG → const Color
kRadioBg → const Color
kSecurityIcon → const Icon
kSilver → const Color
kStarIcon → const Icon
kSubtitleTextStyle → const TextStyle
kTitleTextStyle → const TextStyle
kWhite → const Color