Modular UI Documentation
  • Modular UI
  • Buttons
    • MUIPrimary Button
    • MUIOutlined Button
    • MUIGradient Button
    • MUILoading Button
    • MUISecondary Button
    • MUISecondaryOutlined Button
    • MUIText Button
    • MUIPrimaryBlock Button
    • MUISecondaryBlock Button
    • MUILoadingBlock Button
    • MUIGradientBlock Button
    • MUITextBlock Button
    • MUIOutlinedBlock Button
  • Cards
    • MUIPrimary Card
    • MUIBlog Card
    • MUISimple Card
    • MUIPricing Card
    • MUIProfile Card
    • MUISignIn Card
    • MUISignUp Card
  • Carousels
  • Avatars
  • Breadcrumbs
  • CheckBox
  • Dialog
  • Input Field
  • Listtile
  • Rating
  • Slider
  • Switch
  • Tabs
Powered by GitBook
On this page
  • Listtile
  • MUIPrimaryListTile
  • Properties
  • Example Usage
  • Notes

Listtile

Listtile

MUIPrimaryListTile

A custom list tile provided by Modular UI.

Properties

  • bgColor: Color - Background color of the MUI list tile.

  • title: Widget - Title widget of the MUI list tile.

  • description: Widget - Description widget of the MUI list tile.

  • leading: Widget? - Leading widget of the MUI list tile.

  • action: Widget? - Action widget of the MUI list tile.

  • onTitlePressed: VoidCallback? - Function to execute when the title is pressed.

  • onDescriptionPressed: VoidCallback? - Function to execute when the description is pressed.

  • onPressed: VoidCallback? - Function to execute when the MUI list tile is pressed.

  • maxWidth: double - Maximum width for the MUI list tile.

  • borderRadius: double - Border radius of the MUI list tile.

Example Usage

MUIPrimaryListTile(
        leading: Icon(Icons.home),
        title: Text("Modular UI"),
        description: Text("description"),
        bgColor: Color(0xFFa2d2ff),
        action: Icon(Icons.edit),
      ),

Notes

  • Provides a customizable list tile with various properties.

  • Supports leading, title, description, and action widgets.

  • Allows specifying functions to execute on different interactions.

  • Utilizes the Container widget for styling and layout.

PreviousInput FieldNextRating

Last updated 1 year ago

modularuiwidgets
Listtile
Logo