Skip to content

fix: Table Border Radius doesnt work #119

@ShalmonAnandas

Description

@ShalmonAnandas

Description

Border Radius doesn't work for table; this is a limitation of the TableBorder class, where borderRadius only works with TableBorder.all() and not with TableBorder() or TableBorder.symmetric()

Steps To Reproduce

  1. Add borderRadius to tableBorder in json
  2. borderRadius is not applied

Expected Behavior

Add support for tableBorder.all() constructor.

Additional Context

This can be done in 2 ways.

  1. Intrinsically where if dev passes borderRadius and nothing else then use TableBorder.all() constructor to render; if user passes other variables then ignore borderRadius altogether.
  2. Explicitly where dev can state if they want to use TableBorder or TableBorder.all(); this will also allow us to color, width and style properties which are supported by TableBorder.all()

If approach 2 is to be implemented, then support for TableBorder.symmetric() should also be added to round off the widget

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions