Buma UI - DocumentationBuma UI - Documentation
Get Started
Foundations
Components
Resources
Patterns
Data Visualization
Back to BSpace
Get Started
Foundations
Components
Resources
Patterns
Data Visualization
  • stacksFoundations
    • 💡 Overview
    • Color
    • Principle
    • Typography
  • brickComponents
    • 💡 Overview
    • Accordion
    • Alert
    • Avatar
    • Badge
    • Bottom Sheet
    • Bread Crumb
    • Button
    • Button Link
    • Button Navigation
    • Calendar
    • Card
    • Chat
    • Checkbox
    • Chips
    • Choice Tile
    • Comment
    • Date Picker
    • Divider
    • Download
    • Drawer
    • Dropdown
    • Empty State
    • Floating Button
    • Form Input
    • Header
    • Hint
    • Icon
    • List Choice
    • Loading
    • Modal
    • Navigation Bar
    • Notification
    • Pagination
    • Progress Bar
    • Radio Button
    • Search
    • Scrolling Bar
    • Segmented Switch
    • Side Menu
    • Side Tab
    • Slider
    • Switch
    • Tab
    • Table
    • Text Area
    • Text Input
    • Time Picker
    • Title
    • Toast
    • Tooltip
    • Wizzard
  • splitscreenPattern
    • 💡 Overview
    • Filter
      upcoming
    • Form
      upcoming
    • Notification
    • PWA
      upcoming
    • table
      upcoming
    • Upload Download
      upcoming
  • insert_chartData Visualization
    • 💡 Overview
    • Tiering
    • Pattern
    • Chart and Graph
      • Chart Selection Guide
      • Map Selector
      • Donut Chart
      • Donut Progress Bar Chart
      • Spider Chart
      • Line Chart
      • Chart Area
      • Speedometer
      • Heat Map
      • Scatter Plot
      • Pie Chart
      • Bar Chart
      • Waterfall Chart
      • Sunburst Chart
      • Tree Decomposition Chart
      • Scorecards
      • Table
      • Micro Visualization
    • Typography
    • Color Palette
  • data_objectTokens
    upcoming
  • inventory_2Resources
    • 💡 Overview
    • Mobile
      new
      • 💡 Introduction
      • Installation
      • General
        • Important Rules
        • Naming Convention
        • Clean Architecture
    • Web
      upcoming
ComponentsModalModal UI refers to a concept in UI design where a window or dialog box appears above the main content of a page or screen, typically to display additional information, gather input from the user, or request confirmation before proceeding with a specific action
Guidelines
Web
Oops Sorry! This Page Is Under Maintenance
We are improving this page, and will be back soon! You can explore other page.
Mobile
Resources
  • You can use these components by accessing the provided resource files.
  • Preview animations are examples and may not suit Mobile Widgets. Press 'View Code' to access the Widgetbook Playground and see the Flutter widget displaying all created components and interactive.

Usage

Import this line to your file:

import 'package:buma_design_system/buma_design_system.dart';

Attributes of all variants

If there is a question mark ? in the Data Type, it means that the properties are optional, this is namedConstructor from UIModal

showModalMessage

A custom dialog modal for displaying content and information with text content only.

PropertiesData TypeDescriptionDefault Value
contextBuildContextA handle to the location of a widget in the widget treerequired
stateUIModalStateA state to displaying different Image information contentUIModalState.success
typeButtonUIModalButtonTypeA button type to displaying different axis of buttonUIModalButtonType.vertical
primaryButtonUIModalButton?A model to showing primary button with label and onPressednull
secondaryButtonUIModalButton?A model to showing secondary button with label and onPressednull
showModal

A custom dialog modal for displaying content and information with dynamic content widget.

PropertiesData TypeDescriptionDefault Value
titleWidget?A widget to displaying custom title informationnull
bodyTextString?A text to display some descriptionnull
contentHeaderWidget?A custom widget to displaying content above titlenull
contentModalWidget?A custom widget to displaying content center of modalnull
stateUIModalStateA state to displaying different Image information contentUIModalState.success
typeButtonUIModalButtonTypeA button type to displaying different axis of buttonUIModalButtonType.vertical
primaryButtonUIModalButton?A model to showing primary button with label and onPressednull
secondaryButtonUIModalButton?A model to showing secondary button with label and onPressednull
checkboxUIModalCheckbox?Optional Checkbox with boolean callbacknull
errorMessageString?A text to displays error messagenull
hasClosebool?A button close to dismiss the dialogfalse

Previews & Code

You can call the components with Class.namedConstructor() with different variants.

Modal Message
Modal With Content
arrow_back
Previous Loading
Next Navigation Bar
arrow_forward