title: Widget assets are not loaded on aws ec2 server
body: <p>We are creating a new widget with the timezone package(<a href="https://pub.dev/packages/timezone" rel="nofollow noreferrer">https://pub.dev/packages/timezone</a>), and the time zone package asset is not loaded on aws ec2 server and it was working correctly on other servers.</p>
  <p><strong>Steps to Reproduce</strong></p>
  <ol>
  <li>Configure and run the sample on aws ec2 server</li>
  <li>It makes an error while loading the timezone package asset</li>
  </ol>
  <p><strong>Expected results:</strong></p>
  <ul>
  <li>Package asset will load correctly on aws ec2 server</li>
  </ul>
  <p><strong>Actual results:</strong></p>
  <ul>
  <li>Package asset not loaded correctly on aws ec2 server</li>
  </ul>
  <p><strong>Code sample</strong></p>
  <pre class="lang-dart prettyprint-override"><code>
  @override
    void initState() {
      _loadDataBase();
      super.initState();
    }
  
    Future&lt;bool&gt; _loadDataBase() async {
      final ByteData byteData =
      await rootBundle.load('packages/timezone/data/2020a.tzf');
      initializeDatabase(byteData.buffer.asUint8List());
      return true;
    }
  
    void _refresh() {
      DateTime date = DateTime.now();
      Location location = getLocation('Australia/Darwin');
      DateTime convertedDate = TZDateTime.from(date, location);
      print(convertedDate);
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: Center(
          child: Container(
  
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: _refresh,
          tooltip: 'Convert Date',
          child: const Icon(Icons.refresh),
        ), // This trailing comma makes auto-formatting nicer for build methods.
      );
    }
  
  </code></pre>
  <p><strong>Error log:</strong></p>
  <pre><code>
  Uncaught Unable to load asset: packages/timezone/data/2020a.tzf
  
  </code></pre>
  <p><strong>Screenshot:</strong></p>
  <p><img src="https://user-images.githubusercontent.com/44917578/165103340-d3bf4317-b2bb-4d0e-980b-43fcef0fa436.png" alt="Screen Shot 2022-04-22 at 4 47 38 PM" /></p>
  <p><strong>Sample:</strong>
  <a href="https://github.com/flutter/flutter/files/8555136/flutter_timezone.zip" rel="nofollow noreferrer">flutter_timezone.zip</a></p>