1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Quarterly maintenance on isolate_example (#142)

This commit is contained in:
Andrew Brogdon
2019-09-13 10:25:16 -07:00
committed by GitHub
parent 7a63156650
commit 0f3721f696
12 changed files with 245 additions and 230 deletions

View File

@@ -15,10 +15,16 @@
import 'package:flutter/material.dart';
import 'page_one.dart';
import 'page_two.dart';
import 'page_three.dart';
import 'page_two.dart';
void main() => runApp(MaterialApp(home: StartApp()));
void main() {
runApp(
MaterialApp(
home: StartApp(),
),
);
}
class StartApp extends StatelessWidget {
@override
@@ -30,9 +36,18 @@ class StartApp extends StatelessWidget {
appBar: AppBar(
bottom: TabBar(
tabs: [
Tab(icon: Icon(Icons.flash_on), text: 'Performance'),
Tab(icon: Icon(Icons.sync), text: 'Infinite Process'),
Tab(icon: Icon(Icons.storage), text: 'Data Transfer'),
Tab(
icon: Icon(Icons.flash_on),
text: 'Performance',
),
Tab(
icon: Icon(Icons.sync),
text: 'Infinite Process',
),
Tab(
icon: Icon(Icons.storage),
text: 'Data Transfer',
),
],
),
title: Text('Isolate Example'),