Rename Sample classes (#124080)

Rename Sample classes
This commit is contained in:
Greg Spencer
2023-04-04 13:34:29 -07:00
committed by GitHub
parent c8a3dbaf06
commit e3bc8efd39
480 changed files with 3125 additions and 3816 deletions

View File

@@ -2,31 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flutter code sample for [Table].
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
/// Flutter code sample for [Table].
class MyApp extends StatelessWidget {
const MyApp({super.key});
void main() => runApp(const TableExampleApp());
static const String _title = 'Flutter Code Sample';
class TableExampleApp extends StatelessWidget {
const TableExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: _title,
home: Scaffold(
appBar: AppBar(title: const Text(_title)),
body: const MyStatelessWidget(),
appBar: AppBar(title: const Text('Table Sample')),
body: const TableExample(),
),
);
}
}
class MyStatelessWidget extends StatelessWidget {
const MyStatelessWidget({super.key});
class TableExample extends StatelessWidget {
const TableExample({super.key});
@override
Widget build(BuildContext context) {