Skip to content

Instantly share code, notes, and snippets.

@shubie
Created December 6, 2018 13:31
Show Gist options
  • Select an option

  • Save shubie/6d07106f89cda6ff41ccc35bc474546b to your computer and use it in GitHub Desktop.

Select an option

Save shubie/6d07106f89cda6ff41ccc35bc474546b to your computer and use it in GitHub Desktop.
final levelIndicator = Container(
child: Container(
child: LinearProgressIndicator(
backgroundColor: Color.fromRGBO(209, 224, 224, 0.2),
value: lesson.indicatorValue,
valueColor: AlwaysStoppedAnimation(Colors.green)),
),
);
final coursePrice = Container(
padding: const EdgeInsets.all(7.0),
decoration: new BoxDecoration(
border: new Border.all(color: Colors.white),
borderRadius: BorderRadius.circular(5.0)),
child: new Text(
// "\$20",
"\$" + lesson.price.toString(),
style: TextStyle(color: Colors.white),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment