Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

569 B
Raw Blame
import 'runtime_platform.dart';

/// Whether this OS ships Apple's system fonts — SF Pro, SF Mono (CoreText's
/// `.AppleSystemUIFont*` aliases) and Menlo.
///
/// The font chains used to ask `RuntimePlatform.isMacOS`, which sent iOS down the
/// Linux chain: every family there (DejaVu, Ubuntu, Noto) is missing on an
/// iPhone, so the terminal fell through to a proportional face and its grid
/// came apart. iOS resolves the same CoreText faces as a Mac, so it takes the
/// same chain.
bool get hasAppleFonts => RuntimePlatform.isMacOS || RuntimePlatform.isIOS;