View main.dart
import 'package:flutter/material.dart'; | |
import 'package:flutter_dialogflow/dialogflow_v2.dart'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: 'Example Dialogflow Flutter', |
View main.dart
import 'package:flutter/material.dart'; | |
import 'package:flutter_and_cloudinary/data.dart'; | |
import 'package:flutter_and_cloudinary/fullScreen.dart'; | |
import 'package:http/http.dart' as http; | |
import 'dart:convert'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. |
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_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 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, | |
), | |
); |
OlderNewer