Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TextFormField(
- controller: _noKodeController,
- decoration: InputDecoration(
- labelText: 'Nomor Kode',
- border:
- OutlineInputBorder(borderSide: BorderSide()),
- contentPadding: EdgeInsets.all(10.0),
- ),
- ),
- SizedBox(
- height: 10.0,
- ),
- Row(
- children: <Widget>[
- Expanded(
- child: InkWell(
- onTap: () {
- _datePicker(context);
- },
- child: TextFormField(
- enabled: false,
- controller: _tanggalController,
- decoration: InputDecoration(
- labelText: 'Tanggal',
- border: OutlineInputBorder(
- borderSide: BorderSide()),
- contentPadding: EdgeInsets.all(10.0),
- ),
- ),
- ),
- ),
- SizedBox(
- width: 10.0,
- ),
- Expanded(
- child: InkWell(
- onTap: () {
- _timePicker(context);
- },
- child: TextFormField(
- enabled: false,
- controller: _timeController,
- decoration: InputDecoration(
- labelText: 'Jam',
- border: OutlineInputBorder(
- borderSide: BorderSide()),
- contentPadding: EdgeInsets.all(10.0),
- ),
- ),
- ),
- ),
- ],
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement