Skip to content

Instantly share code, notes, and snippets.

View Lxxyx's full-sized avatar

Lxxyx Lxxyx

  • China Hangzhou (UTC+8)
  • 09:07 (UTC +08:00)
View GitHub Profile
@Lxxyx
Lxxyx / api.ts
Last active February 28, 2022 07:14
Upload RFC
import {
Api,
Post,
} from '@midwayjs/hooks'
import {
File,
useFiles
} from '@midwayjs/upload'
@Lxxyx
Lxxyx / main.dart
Created August 29, 2024 13:46
flutter.dart
// Copyright 2019 the Dart project 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/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
void main() { print("Hello, World!"); }
this is dart
this is dart
Get
asd
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(