1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-01 17:23:18 +00:00

Samples maintenance (#435)

This commit is contained in:
Brett Morgan
2020-05-13 09:18:26 +10:00
committed by GitHub
parent 941ebebfad
commit baa1f976b2
94 changed files with 492 additions and 349 deletions

View File

@@ -7,6 +7,7 @@ import 'package:flutter/material.dart';
class FocusImageDemo extends StatelessWidget {
static String routeName = '/misc/focus_image';
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('Focus Image')),
@@ -16,6 +17,7 @@ class FocusImageDemo extends StatelessWidget {
}
class Grid extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: GridView.builder(
@@ -68,6 +70,7 @@ class SmallCard extends StatelessWidget {
SmallCard(this.imageAssetName);
@override
Widget build(BuildContext context) {
return Card(
child: Material(
@@ -91,6 +94,7 @@ class _SecondPage extends StatelessWidget {
_SecondPage(this.imageAssetName);
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,