Format shared Material primitive integration

This commit is contained in:
2026-11-11 21:17:32 +00:00
parent 16dab6d74e
commit 16f4e43ddc
12 changed files with 35 additions and 38 deletions
+11 -11
View File
@@ -86,8 +86,8 @@ class FloatingTabButton extends StatelessWidget {
}
String _tabLabel(BuildContext context) => MaterialLocalizations.of(
context,
).tabLabel(tabIndex: index + 1, tabCount: count);
context,
).tabLabel(tabIndex: index + 1, tabCount: count);
({Color tint, Color selectedIcon, Color icon}) _colors(BuildContext context) {
final scheme = Theme.of(context).colorScheme;
@@ -109,15 +109,15 @@ class FloatingTabButton extends StatelessWidget {
shape: const CircleBorder(),
);
final Widget fill = Ink(
key: fillKey,
decoration: decoration,
child: InkResponse(
onTap: onTap,
customBorder: const CircleBorder(),
containedInkWell: true,
highlightShape: BoxShape.circle,
),
);
key: fillKey,
decoration: decoration,
child: InkResponse(
onTap: onTap,
customBorder: const CircleBorder(),
containedInkWell: true,
highlightShape: BoxShape.circle,
),
);
Widget glyph = IconTheme.merge(
data: IconThemeData(
size: iconSize,