Skip to content

Instantly share code, notes, and snippets.

@jjmerino
Last active July 1, 2024 20:10
Show Gist options
  • Save jjmerino/3718617d4d0340b21e998bfa295694db to your computer and use it in GitHub Desktop.
Save jjmerino/3718617d4d0340b21e998bfa295694db to your computer and use it in GitHub Desktop.
Autofocus vs button
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: Text('Hello, World!'),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment