blob: 7503a62f5e595f1a6d16dc84780b84e43938d384 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
AssetBundle _initBundle() {
if (rootBundle != null) {
return rootBundle;
}
return new NetworkAssetBundle(Uri.base);
}
/// Returns the default [AssetBundle] for this flutter app.
final AssetBundle defaultBundle = _initBundle();