forked from firka/student-legacy
removed splash from notetile
This commit is contained in:
parent
4b0726f939
commit
1cd1d7ae88
@ -15,12 +15,17 @@ class NoteTile extends StatelessWidget {
|
||||
type: MaterialType.transparency,
|
||||
child: Padding(
|
||||
padding: padding ?? const EdgeInsets.symmetric(horizontal: 8.0),
|
||||
child: Theme(
|
||||
data: Theme.of(context).copyWith(
|
||||
highlightColor: Colors.transparent,
|
||||
splashColor: Colors.transparent,
|
||||
),
|
||||
child: ListTile(
|
||||
visualDensity: VisualDensity.compact,
|
||||
contentPadding: const EdgeInsets.only(left: 8.0, right: 12.0),
|
||||
onTap: onTap,
|
||||
shape:
|
||||
RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(14.0)),
|
||||
leading: ProfileImage(
|
||||
isNotePfp: true,
|
||||
name: (note.teacher.isRenamed
|
||||
@ -45,6 +50,7 @@ class NoteTile extends StatelessWidget {
|
||||
minLeadingWidth: 0,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user