mirror of
https://github.com/git-touch/git-touch
synced 2024-12-15 09:56:15 +01:00
fix: use container to fix expansion of tab
This commit is contained in:
parent
db7b69b177
commit
0ab05646f0
@ -34,9 +34,11 @@ class TabScaffold extends StatelessWidget {
|
|||||||
onValueChanged: onTabSwitch,
|
onValueChanged: onTabSwitch,
|
||||||
children: tabs.asMap().map((key, text) => MapEntry(
|
children: tabs.asMap().map((key, text) => MapEntry(
|
||||||
key,
|
key,
|
||||||
Padding(
|
Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
width: 100,
|
||||||
child: Text(text),
|
child: Center(
|
||||||
|
child: Text(text),
|
||||||
|
),
|
||||||
))),
|
))),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user