Format shared Material primitive integration
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user