Avatar_Container
Arnold-Papplic opened this issue · 1 comments
Arnold-Papplic commented
Please fix the second Text ! If user.name.length >9 then use '' , but this is wrong.
Column(children: <Widget>[ Center( child: Text(user.name == null || user.name.isEmpty ? '' : user.name.substring( 0, user.name.length > 9 ? 9 : user.name.length - 1))), Center( child: Text((user.name == null || user.name.isEmpty) && user.name.length > 9 ? '' : user.name.substring( 9, user.name.length > 18 ? 18 : user.name.length - 1))) ]),
lucasjinreal commented
@Arnold-Papplic I think this repo can not be run at all... lots of syntax errors in code.