Comments (2)
Reproducible with the following test:
import 'dart:ui' as ui;
import 'package:chicago/chicago.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
Widget wrap(Widget child) {
return Localizations(
locale: Locale('en', 'US'),
delegates: [
DefaultWidgetsLocalizations.delegate,
DefaultMaterialLocalizations.delegate,
],
child: MediaQuery(
data: MediaQueryData.fromWindow(ui.window),
child: Directionality(
textDirection: TextDirection.ltr,
child: Material(
child: Navigator(
onGenerateRoute: (RouteSettings settings) {
return MaterialPageRoute<void>(
settings: settings,
builder: (BuildContext context) => child,
);
},
),
),
),
),
);
}
testWidgets('Can render a TextInput with an onKeyEvent handler', (WidgetTester tester) async {
await tester.pumpWidget(wrap(
TextInput(onKeyEvent: (RawKeyEvent event) {}),
));
expect(find.byType(TextInput), findsOneWidget);
});
}
from chicago.
As of 43f302e, the aforementioned test is checked in, and fails at Tot
from chicago.
Related Issues (20)
- Does not work on current stable release 2.2.0 HOT 1
- scrollPanel scrollbars style
- ScrollableListView.itemBuilder is not called when it changes HOT 2
- SplitPane needs minimum sizes
- ScrollableListView isn't focusable
- Splitter doesn't have the right cursor
- ListView doesn't unregister its listener on the controller when it is detached
- ListViewSelectionController is too aggressive about sending notifications
- ListButton menu goes off the bottom of the screen
- ListViewSelectionController.isItemSelected can't be used if the ListView isn't visible
- Rollup is attempting to reuse disposed layers
- ScrollPaneState._handleFocusChange can call ScrollPane.of when deactivated HOT 2
- The text input is not rendered properly HOT 2
- How to localization and change font HOT 1
- When will the official version be released ? HOT 1
- table view scroll performance
- table view row focus
- when to update ?
- scrolling with touchpad does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chicago.