opt.: UI
This commit is contained in:
@@ -23,19 +23,20 @@ class TagBtn extends StatelessWidget {
|
||||
child: Material(
|
||||
color: primaryColor.withAlpha(20),
|
||||
child: InkWell(
|
||||
onTap: onTap,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 11, vertical: 2.7),
|
||||
child: Text(
|
||||
content,
|
||||
style: TextStyle(
|
||||
color: isEnable ? null : Colors.grey,
|
||||
fontSize: 13,
|
||||
onTap: onTap,
|
||||
child: Padding(
|
||||
padding:
|
||||
const EdgeInsets.symmetric(horizontal: 11, vertical: 2.7),
|
||||
child: Text(
|
||||
content,
|
||||
style: TextStyle(
|
||||
color: isEnable ? null : Colors.grey,
|
||||
fontSize: 13,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user