|
|
|
@ -440,7 +440,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
|
|
|
|
|
) |
|
|
|
|
: Container( |
|
|
|
|
width: width, |
|
|
|
|
height: height, |
|
|
|
|
height:width / 7 * 5, |
|
|
|
|
)), |
|
|
|
|
if (isShowImg) |
|
|
|
|
GestureDetector( |
|
|
|
@ -482,6 +482,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
|
|
|
|
|
Widget anthology() { |
|
|
|
|
return Container( |
|
|
|
|
color: Colors.white, |
|
|
|
|
height: 148.h, |
|
|
|
|
margin: EdgeInsets.only(bottom: 16), |
|
|
|
|
padding: EdgeInsets.all(16), |
|
|
|
|
child: Column( |
|
|
|
@ -551,6 +552,8 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
|
|
|
|
|
), |
|
|
|
|
child: Text( |
|
|
|
|
chapterList?.name ?? chapterList.name ?? "", |
|
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
|
maxLines: 2, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|