Organize chat settings (#90)
This commit is contained in:
parent
7bdc9f8931
commit
d384b3279c
2 changed files with 47 additions and 31 deletions
|
|
@ -10,8 +10,8 @@ class SectionHeader extends StatelessWidget {
|
|||
this.text, {
|
||||
Key? key,
|
||||
this.padding = const EdgeInsets.fromLTRB(10.0, 20.0, 10.0, 5.0),
|
||||
this.fontSize = 18.0,
|
||||
this.fontWeight = FontWeight.w600,
|
||||
this.fontSize = 12.0,
|
||||
this.fontWeight = FontWeight.bold,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
|
|
@ -19,10 +19,12 @@ class SectionHeader extends StatelessWidget {
|
|||
return Padding(
|
||||
padding: padding,
|
||||
child: Text(
|
||||
text,
|
||||
text.toUpperCase(),
|
||||
style: TextStyle(
|
||||
color: DefaultTextStyle.of(context).style.color?.withOpacity(0.8),
|
||||
fontSize: fontSize,
|
||||
fontWeight: fontWeight,
|
||||
letterSpacing: 0.5,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue