Skip to content

Generetad styles for FButton only applies sizes for default variant #973

@IdkWhatToCallMe123

Description

@IdkWhatToCallMe123

Describe the bug
When trying to modify the sizing and padding in _buttonSizeStyles only affects button that uses the default variant.

To Reproduce

  1. Generate style files with dart run forui style create buttons.
  2. Try to modify any of the options within _buttonSizeStyles.
  3. Nothing happens for buttons that are not the default variant.

Expected behavior
_buttonSizeStyles should affect all buttons no matter the variant.

Device (please complete the following information):

  • Flutter version: [3.41.2]
  • Forui version: [0.21.0]
  • Device: [M3 macbook air]

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Icebox

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions