Skip to content

Gradient Issue #43

Open
Open
@xykadra

Description

@xykadra

After Implementing provided code for gradient, gradient was not applied in right way resulting gradient to transfer to unselected color while unselected color was coded correctly.
CircularStepProgressIndicator( gradientColor: LinearGradient( begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [Colors.cyan, Colors.orangeAccent], ), totalSteps: 100, currentStep: 50, stepSize: 10, selectedColor: Colors.greenAccent, unselectedColor: MediaQuery.of(context).platformBrightness == Brightness.dark ? Colors.grey[900] : CupertinoColors.systemGrey2, padding: 0, width: 80, height: 80, selectedStepSize: 15, roundedCap: (_, __) => true, ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions