add(project): initial commit

This commit is contained in:
maotovisk 2025-07-28 08:43:15 -03:00
parent f34565bf49
commit cf17a4ec59
11 changed files with 628 additions and 0 deletions

View file

@ -0,0 +1,25 @@
package components
import (
"gioui.org/layout"
"gioui.org/widget"
"gioui.org/widget/material"
)
type Dropdown struct {
Editor widget.Editor
Clicks []*widget.Clickable
Options []string
Filtered []string
Show bool
}
func NewDropdown(options []string) *Dropdown {
return &Dropdown{
Options: options,
}
}
func (d *Dropdown) Layout(gtx layout.Context, th *material.Theme, hint string) (layout.Dimensions, string) {
return layout.Dimensions{}, ""
}