Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added FButton.icon for a single icon button #138

Merged
merged 40 commits into from
Aug 17, 2024

Conversation

sommye-ctr
Copy link
Contributor

@sommye-ctr sommye-ctr commented Aug 3, 2024

Describe the changes
This adds a FButton.icon constructor which will be used to create buttons having a single icon as their content.
Resolves #121

Checklist

  • I have read the CONTRIBUTING.md.
  • I have included the relevant unit/golden tests.
  • I have included the relevant samples.
  • I have updated the documentation accordingly.

@Pante Pante force-pushed the icon-button branch 2 times, most recently from 59f02b3 to 46866a1 Compare August 4, 2024 12:15
Copy link
Member

@Pante Pante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks decent! One small issue is that I think the icon content should have its own style.

docs/pages/docs/button.mdx Outdated Show resolved Hide resolved
forui/lib/src/widgets/button/button.dart Outdated Show resolved Hide resolved
forui/lib/src/widgets/divider.dart Outdated Show resolved Hide resolved
forui/lib/src/widgets/button/button.dart Outdated Show resolved Hide resolved
@Pante Pante linked an issue Aug 11, 2024 that may be closed by this pull request
@Bartozo
Copy link

Bartozo commented Aug 13, 2024

Just tried the library today and my first thought was that it is missing basic components such as IconButton 😅 Glad to see that someone has already started working on this. Any chances to push this new component soon?

forui/lib/src/widgets/button/button.dart Outdated Show resolved Hide resolved
@auto-maid auto-maid bot temporarily deployed to docs-development August 15, 2024 05:11 Inactive
forui/lib/src/widgets/button/button.dart Outdated Show resolved Hide resolved
forui/lib/src/widgets/button/button.dart Outdated Show resolved Hide resolved
forui/lib/src/widgets/button/button.dart Outdated Show resolved Hide resolved
forui/lib/src/widgets/button/button_content.dart Outdated Show resolved Hide resolved
forui/lib/src/widgets/button/button_content.dart Outdated Show resolved Hide resolved
forui/test/src/widgets/button/button_golden_test.dart Outdated Show resolved Hide resolved
@Pante Pante had a problem deploying to docs-development August 15, 2024 06:30 — with GitHub Actions Failure
@auto-maid auto-maid bot had a problem deploying to docs-development August 15, 2024 06:31 Failure
@Pante Pante had a problem deploying to docs-development August 15, 2024 06:32 — with GitHub Actions Failure
@Pante
Copy link
Member

Pante commented Aug 15, 2024

Seems like there was a bug with our workflows which built code on the base branch instead of the head. I've updated the actions accordingly.

@auto-maid auto-maid bot had a problem deploying to docs-development August 15, 2024 14:00 Failure
@auto-maid auto-maid bot temporarily deployed to docs-development August 15, 2024 16:54 Inactive
@auto-maid auto-maid bot temporarily deployed to docs-development August 16, 2024 10:12 Inactive
@Pante
Copy link
Member

Pante commented Aug 17, 2024

LGTM! Thanks for the contribution.

@Pante Pante merged commit fd256f9 into forus-labs:main Aug 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add FButton.icon constructor
4 participants