flutter StatelessWidget テンプレート#
import 'package:flutter/material.dart';
class SamplePage extends StatelessWidget {
const SamplePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Sample')),
body: const SizedBox());
}
}
Related Notes#
References#
Tags#
#flutter