mirror of
https://github.com/git-touch/git-touch
synced 2024-12-15 01:45:05 +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,
|
||||
children: tabs.asMap().map((key, text) => MapEntry(
|
||||
key,
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||
child: Text(text),
|
||||
Container(
|
||||
width: 100,
|
||||
child: Center(
|
||||
child: Text(text),
|
||||
),
|
||||
))),
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user