max_ui_v1 library
Max UI V1 - A production-ready Flutter UI component library
This library provides a collection of reusable, theme-aware UI components built following clean architecture principles and pub.dev standards.
Features
- Custom AppBar with flexible configuration
- Custom Snackbar system with multiple variants
- Generic Dropdown widget with custom builders
- Reusable Container widgets with shadows and gradients
- Modal Bottom Sheet implementation
- Image Picker UI (UI-only, ready for native plugin conversion)
- Text field, labeled dropdown field, and bottom navigation bar
Getting Started
Import the library:
import 'package:max_ui_v1/max_ui_v1.dart';
Then use the components:
MaxUIAppBar(
title: 'My App',
actions: [IconButton(icon: Icon(Icons.search), onPressed: () {})],
)
See the example app for more detailed usage examples.
Classes
- CharacterBasedMarquee
- Horizontally scrolls child when its text is wider than widthInCharacters.
- ImagePickerHelper
- MaxUIAppBar
- A customizable AppBar with theme-aware defaults and full layout control.
- A custom bottom navigation bar with animated icons and extensive theming.
- Describes one tab in MaxUIBottomNavBar.
- MaxUIBottomSheet
- Modal bottom sheet with drag support and extensive layout customization.
- MaxUIBottomSheetBuilder
- MaxUICard
- A variant of MaxUIContainer with card-like styling (elevated with shadow)
- MaxUIColors
- Default color palette used by Max UI form and navigation components.
- MaxUIContainer
- A reusable container widget with support for glassmorphic styling, shadows, gradients, borders, and other customization options.
-
MaxUIDropdown<
T> - Generic dropdown with custom builders and full styling control.
- MaxUIDropdownField
- A labeled dropdown field with loading state, pill styling, and full theming.
- MaxUIDropdownItem
-
Styled row for use inside MaxUIDropdown
itemBuilder. - MaxUIGradientContainer
- A gradient container variant
- MaxUIImagePickerOption
- Public option row — reusable outside the sheet.
- MaxUIImagePickerOptionStyle
- Styling for each option row in the image picker sheet.
- MaxUIImagePickerSheet
- UI-only image picker bottom sheet with full customization.
- MaxUISnackbar
- Custom snackbar with type presets and full SnackBar parameter control.
- MaxUITextField
- A labeled text field with pill-shaped borders and extensive styling options.
Functions
-
maxUIGlassDecoration(
{Color? backgroundColor, Gradient? gradient, Border? border, double borderRadius = 18.0, double borderWidth = 1.0, List< BoxShadow> ? boxShadow}) → BoxDecoration