@@ -98,14 +98,18 @@ we are going to add two different pages:
98
98
99
99
- the first page will showcase the implementation
100
100
of the official ` DatePicker ` and ` TimePicker ` ,
101
- the official Material widgets that are commonly used in ` Flutter ` apps.
102
- - the second page will pertain to ** inline pickers** ,
103
- meaning there won't be any dialogue/modals showing up
104
- and hijacking the screen
105
- whenever a person wishes to change date/time.
101
+ the official ** ` Material ` ** widgets that are commonly used in ` Flutter ` apps.
102
+ - the second page will pertain to ** ` Cupertino ` ** widgets.
106
103
107
104
> ** Note:**
108
105
>
106
+ > We ** do not like modals** .
107
+ > Both of these widget types make use of modals/popups.
108
+ > While we're wanting to build our own pickers that
109
+ > * do not* use these as a crutch,
110
+ > we'll have to settle for these * for now* to speed up the development
111
+ > of our [ ` app ` ] ( https://github.com/dwyl/app ) .
112
+ >
109
113
> If you want to know * why* we're wanting to
110
114
> ** not** use modals,
111
115
> visit https://github.com/dwyl/product-ux-research/issues/38 for more context.
@@ -151,7 +155,7 @@ class _HomePageState extends State<HomePage> {
151
155
style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold),
152
156
),
153
157
const Text(
154
- 'Inline widget',
158
+ 'Cupertino widget',
155
159
style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold),
156
160
)
157
161
];
@@ -179,8 +183,8 @@ class _HomePageState extends State<HomePage> {
179
183
label: 'Material',
180
184
),
181
185
BottomNavigationBarItem(
182
- icon: Icon(Icons.border_color ),
183
- label: 'Inline ',
186
+ icon: Icon(Icons.power_input_sharp ),
187
+ label: 'Cupertino ',
184
188
),
185
189
],
186
190
currentIndex: _selectedIndex,
@@ -356,7 +360,7 @@ Change the `_pages` field so it uses this newly created page.
356
360
final List<Widget> _pages = <Widget>[
357
361
const MaterialExamplePage(),
358
362
const Text(
359
- 'Inline widget',
363
+ 'Cupertino widget',
360
364
style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold),
361
365
)
362
366
];
0 commit comments