Reference

Icon

Icon

Display a standalone icon.

Example

icon(icon: "home")

Common properties

  • icon
  • size
  • color

Usage

row(
  spacing: 8,
  children: [
    icon(icon: Ruflet::MaterialIcons::ADD),
    text(value: "Create")
  ]
)

Notes

  • Ruflet accepts icon name strings like "add"
  • Ruflet also accepts Ruflet::MaterialIcons::*