Skip to content

Instantly share code, notes, and snippets.

@nmaruy27
Last active January 6, 2020 06:07
Show Gist options
  • Save nmaruy27/c3fa945a99d0446b6915f8d90206da56 to your computer and use it in GitHub Desktop.
Save nmaruy27/c3fa945a99d0446b6915f8d90206da56 to your computer and use it in GitHub Desktop.
TextField Sample(Keyboard do not show up)
import 'package:flutter/material.dart';
import 'package:flutter_driver/driver_extension.dart';
void main() {
// Enable integration testing with the Flutter Driver extension.
// See https://flutter.dev/testing/ for more info.
enableFlutterDriverExtension();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Test App',
home: Scaffold(
body: Container(
child: TextField(),
),
)
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment