feat(app): compose live Runs with deep links and reconnect retention
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Whether the nearest app host is a Cupertino one.
|
||||
///
|
||||
/// A `CupertinoApp` supplies Cupertino localizations only, while `MaterialApp`
|
||||
/// supplies [MaterialLocalizations]. Checking the host avoids guessing from a
|
||||
/// desktop browser's target platform and keeps one answer for every control.
|
||||
bool usesCupertinoHost(BuildContext context) =>
|
||||
Localizations.of<MaterialLocalizations>(context, MaterialLocalizations) ==
|
||||
null;
|
||||
Reference in New Issue
Block a user