buildByCupertinoNative method
build on cupertino mode with native iOS components (cupertino_native package) This is called when baseParam.nativeIOS = true Default implementation falls back to buildByCupertino()
Implementation
@override
Widget buildByCupertinoNative(BuildContext context) {
// Native iOS implementation using cupertino_native package
// This provides true native iOS rendering with CNTabBar
// Enabled when baseParam.nativeIOS = true
// Use native CNTabBar if enabled and items are available
if (valueOf('useNativeCupertinoTabBar', useNativeCupertinoTabBar)) {
return _buildNativeCupertinoTabBar(context);
}
// Fallback to standard CupertinoTabBar
final CupertinoTabBar tabBar = buildCupertinoTabBar(context);
// Apply iOS 26 Liquid Glass effects if enabled
// if (valueOf('enableLiquidGlass', enableLiquidGlass)) {
// return _wrapWithLiquidGlass(context, tabBar);
// }
return tabBar;
}