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,22 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flutter code sample for [TabController].
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
/// Flutter code sample for [TabController].
class MyApp extends StatelessWidget {
const MyApp({super.key});
void main() => runApp(const TabControllerExampleApp());
static const String _title = 'Flutter Code Sample';
class TabControllerExampleApp extends StatelessWidget {
const TabControllerExampleApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: _title,
home: MyStatelessWidget(),
home: TabControllerExample(),
);
}
}
@@ -28,8 +25,8 @@ const List<Tab> tabs = <Tab>[
Tab(text: 'Second'),
];
class MyStatelessWidget extends StatelessWidget {
const MyStatelessWidget({super.key});
class TabControllerExample extends StatelessWidget {
const TabControllerExample({super.key});
@override
Widget build(BuildContext context) {