Home
last modified time | relevance | path

Searched refs:Widget (Results 1 – 25 of 757) sorted by relevance

12345678910>>...31

/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/src/
Dbackdrop_filter.dart29 Widget build(BuildContext context) {
30 Widget addBlur(Widget child, bool shouldBlur) {
43 final Widget txt = addBlur(Container(
48 Widget col(Widget w, int numRows) {
50 children: List<Widget>.generate(numRows, (int i) => w),
54 Widget grid(Widget w, int numRows, int numCols) {
57 children: List<Widget>.generate(numCols, (int i) => col(w, numRows)),
64 children: <Widget>[
68 children: <Widget>[
74 builder: (BuildContext c, Widget w) {
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dtable_test.dart19 Widget build(BuildContext context) => Container();
37 Widget build(BuildContext context) => toggle ? const SizedBox() : const Text('CRASHHH');
57 children: <Widget>[
62 children: <Widget>[
67 children: <Widget>[
90 final Widget table = Table(
97 children: <Widget>[Placeholder()],
138 children: <Widget>[
143 children: <Widget>[
148 children: <Widget>[
[all …]
Dslivers_block_test.dart17 slivers: <Widget>[
19 delegate: SliverChildListDelegate(const <Widget>[
39 slivers: const <Widget>[
41 delegate: SliverChildListDelegate.fixed(<Widget>[
142 slivers: <Widget>[
144 delegate: SliverChildListDelegate(<Widget>[
164 slivers: <Widget>[
166 delegate: SliverChildListDelegate(<Widget>[
186 slivers: <Widget>[
188 delegate: SliverChildListDelegate(<Widget>[
[all …]
Dlist_view_relayout_test.dart16 children: <Widget>[
19 children: const <Widget>[
27 children: const <Widget>[
46 children: const <Widget>[
57 children: const <Widget>[
73 children: const <Widget>[
87 children: const <Widget>[
100 children: const <Widget>[],
112 children: const <Widget>[
127 children: const <Widget>[
[all …]
Dmultichild_test.dart35 …MockMultiChildRenderObjectWidget({ Key key, List<Widget> children }) : super(key: key, children: c…
47 children: const <Widget>[
60 children: const <Widget>[
72 children: const <Widget>[
85 children: const <Widget>[
98 children: const <Widget>[
111 children: const <Widget>[
132 children: const <Widget>[
145 children: <Widget>[
160 children: <Widget>[
[all …]
Dwrap_test.dart24 children: const <Widget>[
43 children: const <Widget>[
62 children: const <Widget>[
82 children: const <Widget>[
102 children: const <Widget>[
122 children: const <Widget>[
144 children: const <Widget>[
163 children: const <Widget>[
182 children: const <Widget>[
203 children: const <Widget>[
[all …]
Dframework_test.dart11 Widget build(BuildContext context) => null;
68 children: <Widget>[
98 children: <Widget>[
113 children: <Widget>[
143 children: <Widget>[
149 children: <Widget>[
172 children: <Widget>[
178 children: <Widget>[
201 children: <Widget>[
207 children: <Widget>[
[all …]
Dslivers_keepalive_test.dart11 List<Widget> childList= <Widget>[
34 List<Widget> childList= <Widget>[
57 List<Widget> childList= <Widget>[
80 List<Widget> childList= <Widget>[
102 List<Widget> childList= <Widget>[
124 List<Widget> childList= <Widget>[
146 List<Widget> childList= <Widget>[
190 List<Widget> childList= <Widget>[
233 List<Widget> childList= <Widget>[
276 List<Widget> childList= <Widget>[
[all …]
Dsliver_fill_remaining_test.dart18 slivers: <Widget>[
46 slivers: <Widget>[
69 final Widget sliverBox = SliverToBoxAdapter(
75 Widget boilerplate(List<Widget> slivers, {ScrollController controller}) {
88 final List<Widget> slivers = <Widget>[
106 final List<Widget> slivers = <Widget>[
123 final List<Widget> slivers = <Widget>[
137 final List<Widget> slivers = <Widget>[
164 final List<Widget> slivers = <Widget>[
181 final List<Widget> slivers = <Widget>[
[all …]
/third_party/flutter/flutter/dev/benchmarks/complex_layout/lib/
Dmain.dart25 Widget build(BuildContext context) {
59 Widget build(BuildContext context) {
92 Widget build(BuildContext context) {
96 actions: <Widget>[
108 children: <Widget>[
130 Widget build(BuildContext context) {
187 Widget build(BuildContext context) {
189 children: <Widget>[
207 Widget build(BuildContext context) {
209 children: <Widget>[
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/shrine/
Dshopping_cart.dart32 List<Widget> _createShoppingCartRows(AppStateModel model) {
46 Widget build(BuildContext context) {
54 builder: (BuildContext context, Widget child, AppStateModel model) {
56 children: <Widget>[
58 children: <Widget>[
60 children: <Widget>[
120 Widget build(BuildContext context) {
129 children: <Widget>[
135 children: <Widget>[
138 children: <Widget>[
[all …]
/third_party/boost/libs/python/test/
Dreturn_arg.cpp11 struct Widget struct
13 Widget() in Widget() argument
31 struct Label : Widget argument
54 class_<Widget>("Widget") in BOOST_PYTHON_MODULE()
55 .def("sensitive", &Widget::get_sensitive) in BOOST_PYTHON_MODULE()
56 .def("sensitive", &Widget::set_sensitive, return_self<>()) in BOOST_PYTHON_MODULE()
59 class_<Label, bases<Widget> >("Label") in BOOST_PYTHON_MODULE()
/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/
Dbackdrop.dart36 final Widget child;
68 Widget build(BuildContext context) {
86 final Widget child0;
87 final Widget child1;
90 Widget build(BuildContext context) {
105 children: <Widget>[
135 final Widget leading;
136 final Widget title;
137 final Widget trailing;
140 Widget build(BuildContext context) {
[all …]
Doptions.dart91 final Widget child;
94 Widget build(BuildContext context) {
126 Widget build(BuildContext context) {
130 children: <Widget>[
152 Widget build(BuildContext context) {
166 final Widget child;
169 Widget build(BuildContext context) {
187 Widget build(BuildContext context) {
217 Widget build(BuildContext context) {
220 children: <Widget>[
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/cupertino/
Dcupertino_picker_demo.dart34 Widget _buildMenu(List<Widget> children) {
58 Widget _buildBottomPicker(Widget picker) {
80 Widget _buildColorPicker(BuildContext context) {
97 children: List<Widget>.generate(coolColorNames.length, (int index) {
108 <Widget>[
121 Widget _buildCountdownTimerPicker(BuildContext context) {
139 <Widget>[
152 Widget _buildDatePicker(BuildContext context) {
171 <Widget>[
182 Widget _buildTimePicker(BuildContext context) {
[all …]
Dcupertino_navigation_demo.dart50 Widget build(BuildContext context) {
112 Widget build(BuildContext context) {
128 final Widget trailingButtons = Row(
130 children: <Widget>[
144 Widget build(BuildContext context) {
148 slivers: <Widget>[
189 Widget build(BuildContext context) {
190 final Widget row = GestureDetector(
208 children: <Widget>[
222 children: <Widget>[
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dviewport_test.dart13 List<Widget> children;
23 children: children = List<Widget>.generate(20, (int i) {
57 List<Widget> children;
69 children: children = List<Widget>.generate(20, (int i) {
103 List<Widget> children;
115 children: children = List<Widget>.generate(20, (int i) {
149 List<Widget> children;
162 children: children = List<Widget>.generate(20, (int i) {
196 final List<Widget> children = <Widget>[];
206 slivers: List<Widget>.generate(20, (int i) {
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Dsearch_demo.dart23 Widget build(BuildContext context) {
39 actions: <Widget>[
70 children: <Widget>[
74 children: <Widget>[
77 children: const <Widget>[
108 children: <Widget>[
110 accountName: Text('Peter Widget'),
141 Widget buildLeading(BuildContext context) {
155 Widget buildSuggestions(BuildContext context) {
172 Widget buildResults(BuildContext context) {
[all …]
Dchip_demo.dart81 final List<Widget> children;
85 Widget build(BuildContext context) {
86 final List<Widget> cardChildren = <Widget>[
95 children: children.map<Widget>((Widget chip) {
204 Widget build(BuildContext context) {
205 final List<Widget> chips = _materials.map<Widget>((String name) {
218 final List<Widget> inputChips = _tools.map<Widget>((String name) {
232 final List<Widget> choiceChips = _materials.map<Widget>((String name) {
246 final List<Widget> filterChips = _defaultTools.map<Widget>((String name) {
273 final List<Widget> actionChips = allowedActions.map<Widget>((String name) {
[all …]
Dbuttons_demo.dart59 Widget build(BuildContext context) {
121 actions: <Widget>[
134 Widget buildRaisedButton() {
139 children: <Widget>[
142 children: <Widget>[
157 children: <Widget>[
177 Widget buildFlatButton() {
182 children: <Widget>[
185 children: <Widget>[
200 children: <Widget>[
[all …]
Dbottom_app_bar_demo.dart25 static const _ChoiceValue<Widget> kNoFab = _ChoiceValue<Widget>(
31 static const _ChoiceValue<Widget> kCircularFab = _ChoiceValue<Widget>(
41 static const _ChoiceValue<Widget> kDiamondFab = _ChoiceValue<Widget>(
111 _ChoiceValue<Widget> _fabShape = kCircularFab;
122 void _onFabShapeChanged(_ChoiceValue<Widget> value) {
141 Widget build(BuildContext context) {
147 actions: <Widget>[
162 children: <Widget>[
165 _RadioItem<Widget>(kCircularFab, _fabShape, _onFabShapeChanged),
166 _RadioItem<Widget>(kDiamondFab, _fabShape, _onFabShapeChanged),
[all …]
/third_party/cef/libcef/browser/views/
Dwindow_view.cc37 ClientViewEx(views::Widget* widget, in ClientViewEx()
61 NativeFrameViewEx(views::Widget* widget, CefWindowView* view) in NativeFrameViewEx()
101 views::Widget* widget_;
117 CaptionlessFrameView(views::Widget* widget, CefWindowView* view) in CaptionlessFrameView()
228 views::Widget* widget_;
262 views::Widget* widget = cef::IsChromeRuntimeEnabled() ? new ChromeBrowserFrame in CreateWidget()
263 : new views::Widget; in CreateWidget()
265 views::Widget::InitParams params; in CreateWidget()
267 params.type = views::Widget::InitParams::TYPE_WINDOW; in CreateWidget()
311 params.type = views::Widget::InitParams::TYPE_MENU; in CreateWidget()
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/calculator/
Dhome.dart115 Widget build(BuildContext context) {
123 children: <Widget>[
146 Widget build(BuildContext context) {
162 Widget build(BuildContext context) {
172 children: <Widget>[
179 children: <Widget>[
180 KeyRow(<Widget>[
185 KeyRow(<Widget>[
190 KeyRow(<Widget>[
195 KeyRow(<Widget>[
[all …]
/third_party/flutter/flutter/dev/manual_tests/lib/
Dcard_collection.dart99 Widget _buildDrawer() {
104 children: <Widget>[
184 Widget buildDrawerCheckbox(String label, bool value, void callback(), { bool enabled = true }) {
195Widget buildDrawerColorRadioItem(String label, MaterialColor itemValue, MaterialColor currentValue…
208Widget buildDrawerDirectionRadioItem(String label, DismissDirection itemValue, DismissDirection cu…
221Widget buildFontRadioItem(String label, TextAlign itemValue, TextAlign currentValue, ValueChanged<…
234 Widget _buildAppBar(BuildContext context) {
236 actions: <Widget>[
248 Widget _buildCard(BuildContext context, int index) {
250 final Widget card = Dismissible(
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dcontacts_demo.dart12 final List<Widget> children;
15 Widget build(BuildContext context) {
29 children: <Widget>[
55 Widget build(BuildContext context) {
57 …final List<Widget> columnChildren = lines.sublist(0, lines.length - 1).map<Widget>((String line) =…
60 final List<Widget> rowChildren = <Widget>[
106 Widget build(BuildContext context) {
116 slivers: <Widget>[
122 actions: <Widget>[
162 children: <Widget>[
[all …]

12345678910>>...31