Minor fixes
This commit is contained in:
parent
4f176ae8ad
commit
3b71596ff9
4 changed files with 13 additions and 8 deletions
|
|
@ -11,9 +11,15 @@ class Avatar extends StatelessWidget {
|
|||
final String name;
|
||||
final double size;
|
||||
final Function onTap;
|
||||
static const double defaultSize = 44;
|
||||
|
||||
const Avatar(this.mxContent, this.name, {this.size = 40, this.onTap, Key key})
|
||||
: super(key: key);
|
||||
const Avatar(
|
||||
this.mxContent,
|
||||
this.name, {
|
||||
this.size = defaultSize,
|
||||
this.onTap,
|
||||
Key key,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue