Skip to content

Commit

Permalink
Merge pull request #10 from husnutass:husnutass/issue6
Browse files Browse the repository at this point in the history
Rehbere ekleme ekrani - Taşma sorunu
  • Loading branch information
husnutass committed May 27, 2021
2 parents 9b6d5e0 + 0222c38 commit f137d8d
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions lib/view/screens/input_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,41 +95,44 @@ class InputDrawer {
),
),
),
Container(
height: pageHeight * 0.36,
child: ListView.builder(
shrinkWrap: true,
itemCount: inputData.length,
itemBuilder: (BuildContext context, int index) {
return Container(
// height: 40,
margin: EdgeInsets.symmetric(vertical: 6.0),
decoration: BoxDecoration(
color: Colors.black,
borderRadius: BorderRadius.circular(10.0),
),
child: TextFormField(
style: TextStyle(
color: Color(0xFFDDDDDD),
Expanded(
child: Container(
child: ListView.builder(
shrinkWrap: true,
itemCount: inputData.length,
itemBuilder: (BuildContext context, int index) {
return Container(
// height: 40,
margin: EdgeInsets.symmetric(vertical: 6.0),
decoration: BoxDecoration(
color: Colors.black,
borderRadius: BorderRadius.circular(10.0),
),
decoration: InputDecoration(
border: InputBorder.none,
labelStyle: TextStyle(
color: Color(0xFFFFE500),
child: TextFormField(
style: TextStyle(
color: Color(0xFFDDDDDD),
),
labelText: inputData[index]["label"],
contentPadding: EdgeInsets.symmetric(
vertical: 12.0,
horizontal: 20.0,
decoration: InputDecoration(
border: InputBorder.none,
labelStyle: TextStyle(
color: Color(0xFFFFE500),
),
labelText: inputData[index]["label"],
contentPadding: EdgeInsets.symmetric(
vertical: 12.0,
horizontal: 20.0,
),
),
controller: inputData[index]["controller"],
),
controller: inputData[index]["controller"],
),
);
},
);
},
),
),
),
Spacer(),
SizedBox(
height: 20,
),
SizedBox(
width: double.infinity,
child: FilledButton(
Expand Down

0 comments on commit f137d8d

Please sign in to comment.