Settings Card Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Reusable card widget that represents a single settings section or action item in the settings screen. Driven by design tokens for consistent styling and supports icons, labels, and optional trailing widgets. Used as the primary building block for the settings screen layout.
settings-card-widget
Responsibilities
- Render a tappable settings card with icon, title, and optional subtitle
- Apply design token styling for consistent visual treatment
- Emit tap callbacks for parent screen to handle navigation or actions
- Support disabled state for org-restricted settings
Interfaces
AppSettingsCard({required String title, required IconData icon, VoidCallback? onTap, String? subtitle, bool enabled})
build(BuildContext)
onTap()
setEnabled(bool)