Skip to content

Instantly share code, notes, and snippets.

View metal-young's full-sized avatar
🏠
Working from home

Xiaoyu Li metal-young

🏠
Working from home
View GitHub Profile
@metal-young
metal-young / main.dart
Created June 9, 2023 08:47
iridescent-dawn-8057
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
// 这是我们的主组件
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@metal-young
metal-young / main.dart
Created June 9, 2023 08:44
iridescent-dawn-8057
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
// 这是我们的主组件
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@metal-young
metal-young / main.dart
Created June 8, 2023 10:10
poetic-osmium-5535
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@metal-young
metal-young / main.dart
Created June 8, 2023 08:21
astonishing-bulb-1058
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp()); // 运行 MyApp 应用
}
class MyApp extends StatelessWidget { // MyApp 是一个无状态组件
const MyApp({Key? key}) : super(key: key);
@override
@metal-young
metal-young / main.dart
Created May 29, 2023 16:43
rustic-kettle-9595
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@metal-young
metal-young / main.dart
Created May 29, 2023 14:35
cylindrical-charm-4575
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@metal-young
metal-young / TengxunClientV2.php
Created June 4, 2022 12:48
自己写的腾讯QQ互联的类,内容很少不值得开个仓库了。
<?php
/*
* 自己写的腾讯QQ互联的类
* 开始 2014-01-16
* 更新 2014-01-17
* 更新历史
* 2014-01-17 修改post方法
* xiaoyu <[email protected]>
*/