View main.dart
import 'package:flutter_web/material.dart'; | |
import 'footerOptions.dart'; | |
import 'googleMenuOptions.dart'; | |
import 'googleSearch.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. |
View googleSearch.dart
import 'package:flutter_web/material.dart'; | |
class GoogleSearch extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
child: Container( | |
child: Center( | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, |
View data.dart
class Data { | |
List<Resources> resources; | |
String nextCursor; | |
Data({this.resources, this.nextCursor}); | |
Data.fromJson(Map<String, dynamic> json) { | |
if (json['resources'] != null) { | |
resources = new List<Resources>(); | |
json['resources'].forEach((v) { |
View fullScreen.dart
import 'package:cloudinary/data.dart'; | |
import 'package:flutter/material.dart'; | |
class FullScreen extends StatelessWidget { | |
final Resources resources; | |
FullScreen(this.resources); | |
@override | |
Widget build(BuildContext context) { |
View main.dart
import 'package:flutter/material.dart'; | |
import 'package:responsive_grid/responsive_grid.dart'; | |
void main() => runApp(MaterialApp( | |
title: 'Responsive Layout', | |
home: HomePage(), | |
debugShowCheckedModeBanner: false, | |
), | |
); |
View main.dart
import 'package:flutter/material.dart'; | |
import 'package:flutter_rave/flutter_rave.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
View main.dart
import 'package:flutter/material.dart'; | |
import 'package:responsive_grid/responsive_grid.dart'; | |
void main() => runApp(MaterialApp( | |
title: 'Responsive Layout', | |
home: HomePage(), | |
debugShowCheckedModeBanner: false, | |
), | |
); |
View home.dart
class Home extends StatefulWidget { | |
@override | |
_HomeState createState() => _HomeState(); | |
} | |
class _HomeState extends State<Home> { | |
final storyController = StoryController(); | |
@override | |
void dispose() { |
OlderNewer