eyflutter_uikit 0.0.7+6 copy "eyflutter_uikit: ^0.0.7+6" to clipboard
eyflutter_uikit: ^0.0.7+6 copied to clipboard

outdated

eyflutter项目工具库

example/lib/main.dart

import 'dart:io';

import 'package:eyflutter_uikit_example/home.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
  if (Platform.isAndroid) {
    SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(statusBarColor: Colors.transparent));
  }
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Home(),
    );
  }
}