flutter_tools.dart 539 Bytes
Newer Older
1 2 3 4
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5
import 'package:flutter_tools/executable.dart' as executable;
6

7 8 9 10 11 12
// Temporary workaround for https://github.com/flutter/flutter/issues/9727
bool get initializeLibNotify {
  final DateTime date = new DateTime.now();
  return date.month == 1;
}

13
void main(List<String> args) {
14 15
  // ignore: UNUSED_LOCAL_VARIABLE
  final bool x = initializeLibNotify;
16 17
  executable.main(args);
}