Created
December 6, 2018 13:31
-
-
Save shubie/6d07106f89cda6ff41ccc35bc474546b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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