Skip to content

feat: Add support for BackdropFilter widget #269

@divyanshub024

Description

@divyanshub024

Description

We need to add support for the BackdropFilter widget in Stac. This includes:

✅ Tasks

  • Add a new widget parser for BackdropFilter
  • Support configuration for filter (e.g., ImageFilter.blur)
  • Allow child widgets
  • Add an example in the gallery app (e.g., a frosted glass effect)
  • Write documentation for usage

📄 Example JSON

{
  "type": "backdropFilter",
  "filter": {
    "type": "blur",
    "sigmaX": 5.0,
    "sigmaY": 5.0
  },
  "child": {
    "type": "Container",
    "padding": 16,
    "color": "#ffffff80",
    "child": {
      "type": "Text",
      "value": "Frosted glass effect"
    }
  }
}

📚 Resources

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions