aloisdeniel / aloisdeniel/figma_squircle

SmoothRectangleBorder on a TextField?

Open
#16 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
163
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I've been trying to add a SmoothRectangleBorder to a TextField, but it doesn't seem to work. This is my code:

```
OutlineInputBorder myBorder() {
return OutlineInputBorder(
borderRadius: SmoothBorderRadius( cornerRadius: 20,
cornerSmoothing: 1,
),
borderSide: BorderSide(
color: Color(0xff8F5CFC),
width: 3,
),
);
}

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.