Package-level declarations
Types
Common name space for all Spend Manager Composable functions. Keeping all our own customized composable functions within a single parent object will help with naming and organizing, making it easier to differentiate between our own functions and android supplies composable functions.
Functions
Reusable composable that displays exactly like a Material3 OutlinedTextField, but interaction is done via an onClick rather than allowing the user to edit the field directly.
Reusable composable used to display content load errors. Contains slots for an icon, title, description and retry (or other action) button. Styled after our default SM Content Loading Error.
Reusable composable used to display content load errors. Contains slots for an icon, title and description. Contains a simpler implementation for the retry button with parameters to handle the button being clicked and for the button's content. Styled after our default SM Content Loading Error.
Used for displaying an individual DropdownMenu item, using our own default styling
Flippable Card which remembers its state, and flips between the front and back content based on the passed in boolean.
Spend Manager Styled Floating Action Button. Generic implementation that takes icon and text composables.
Spend Manager Styled Floating Action Button. Specific implementation that takes icon and text resources.
A general template for the type of Spend Manager screen hooked up in a scaffold, with the following properties:
A customizable rounded outlined card that can be more easily reused.
Sensibill implementation of the "base" Scaffold. Argument defaults have been copied from Scaffold.
A Button styled with secondary colours.
Creator for ButtonColors that can be used to create colours for a secondary button