Remove Cupertino UI branches from shared primitives
Keep the existing Material rendering, semantics, and interaction paths while removing obsolete Cupertino imports, alternate widgets, and dynamic-color dependencies. Record focused verification and remaining fixture limitations for final integration.
This commit is contained in:
@@ -11,7 +11,7 @@ class BarIconButton extends StatelessWidget {
|
||||
const BarIconButton({
|
||||
super.key,
|
||||
required this.icon,
|
||||
required this.cupertinoIcon,
|
||||
this.cupertinoIcon,
|
||||
required this.label,
|
||||
required this.onPressed,
|
||||
this.selected = false,
|
||||
@@ -21,7 +21,8 @@ class BarIconButton extends StatelessWidget {
|
||||
});
|
||||
|
||||
final IconData icon;
|
||||
final IconData cupertinoIcon;
|
||||
/// Retained for source compatibility; Material rendering always uses [icon].
|
||||
final IconData? cupertinoIcon;
|
||||
|
||||
/// The tooltip and accessible name.
|
||||
final String label;
|
||||
|
||||
Reference in New Issue
Block a user