Merge pull request #301 from GetStream/fix/buttonsize
fix(ui): fix button size
This commit is contained in:
@@ -21,12 +21,12 @@ class StreamBackButton extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Stack(
|
return Stack(
|
||||||
|
alignment: Alignment.center,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
RawMaterialButton(
|
||||||
padding: const EdgeInsets.all(14.0),
|
shape: RoundedRectangleBorder(
|
||||||
child: RawMaterialButton(
|
borderRadius: BorderRadius.circular(4),
|
||||||
shape:
|
),
|
||||||
RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)),
|
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
highlightElevation: 0,
|
highlightElevation: 0,
|
||||||
focusElevation: 0,
|
focusElevation: 0,
|
||||||
@@ -39,12 +39,12 @@ class StreamBackButton extends StatelessWidget {
|
|||||||
Navigator.maybePop(context);
|
Navigator.maybePop(context);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
padding: const EdgeInsets.all(14.0),
|
||||||
child: StreamSvgIcon.left(
|
child: StreamSvgIcon.left(
|
||||||
size: 24,
|
size: 24,
|
||||||
color: StreamChatTheme.of(context).colorTheme.black,
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
if (showUnreads)
|
if (showUnreads)
|
||||||
Positioned(
|
Positioned(
|
||||||
top: 7,
|
top: 7,
|
||||||
|
|||||||
Reference in New Issue
Block a user