iampawan / VelocityX

A minimalist Flutter framework for rapidly building Flutter apps.
https://velocityx.dev
MIT License
1.43k stars 190 forks source link

Using Gradient on continues rectangle gives an error #187

Closed rymesaint closed 1 year ago

rymesaint commented 1 year ago

Describe the bug I got an error using gradient when using continuesRectangle()

'Sign In'
.text
.white
.makeCentered()
.continuousRectangle(
  gradient: const LinearGradient(
      colors: [Colors.black, Colors.white]),
  height: 40,
  width: 120,
)
.onTap(controller.signIn)
huzaifansari54 commented 1 year ago

can u tell what exactly error u have face? use screenshot

Shreemanarjun commented 1 year ago

@iampawan I want to work on it.

Shreemanarjun commented 1 year ago

Fixed with PR #189

Shreemanarjun commented 1 year ago

PLEASE LABEL THIS ONE AS HACKTOBERFEST IF POSSIBLE. @iampawan