-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrew Julow
authored and
Andrew Julow
committed
Apr 27, 2020
1 parent
f6d2640
commit 9e48795
Showing
11 changed files
with
185 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// if (isIOS) { | ||
// return Padding( | ||
// padding: EdgeInsets.symmetric(horizontal: 25.0, vertical: 8.0), | ||
// child: CupertinoTextField( | ||
// keyboardType: TextInputType.emailAddress, | ||
// placeholder: 'email', | ||
// prefix: Padding( | ||
// padding: const EdgeInsets.only(left: 8.0), | ||
// child: Icon( | ||
// CupertinoIcons.mail_solid, | ||
// size: 35.0, | ||
// color: Color(0xFF48a1af), | ||
// ), | ||
// ), | ||
// placeholderStyle: GoogleFonts.roboto( | ||
// textStyle: TextStyle(color: Color(0xFFc8d6e5), fontSize: 14.0), | ||
// ), | ||
// cursorColor: Color(0xFF263a44), | ||
// style: GoogleFonts.roboto( | ||
// textStyle: TextStyle( | ||
// color: Color(0xFF4e5b60), | ||
// fontWeight: FontWeight.bold, | ||
// fontSize: 16.0)), | ||
// textAlign: TextAlign.center, | ||
// decoration: BoxDecoration( | ||
// border: Border.all(color: Color(0xFFe2a84b), width: 2.0), | ||
// borderRadius: BorderRadius.circular(25.0), | ||
// ), | ||
// obscureText: (obscureText != null) ? obscureText : false, | ||
// ), | ||
// ); | ||
// } else { | ||
// return Padding( | ||
// padding: EdgeInsets.symmetric(horizontal: 25.0, vertical: 8.0), | ||
// child: TextField( | ||
// keyboardType: TextInputType.emailAddress, | ||
// decoration: InputDecoration( | ||
// contentPadding: EdgeInsets.all(8.0), | ||
// hintText: hintText, | ||
// hintStyle: TextFieldStyles.placeholder(), | ||
// border: InputBorder.none, | ||
// prefixIcon: Padding( | ||
// padding: const EdgeInsets.only(left: 8.0), | ||
// child: Icon( | ||
// Icons.email, | ||
// size: 35.0, | ||
// color: Color(0xFF48a1af), | ||
// ), | ||
// ), | ||
// focusedBorder: OutlineInputBorder( | ||
// borderSide: BorderSide(color: Color(0xFFe2a84b), width: 2.0), | ||
// borderRadius: BorderRadius.circular(25.0), | ||
// ), | ||
// enabledBorder: OutlineInputBorder( | ||
// borderSide: BorderSide(color: Color(0xFFe2a84b), width: 2.0), | ||
// borderRadius: BorderRadius.circular(25.0), | ||
// ), | ||
// ), | ||
// cursorColor: Color(0xFF263a44), | ||
// style: GoogleFonts.roboto( | ||
// textStyle: TextStyle( | ||
// color: Color(0xFF4e5b60), | ||
// fontWeight: FontWeight.bold, | ||
// fontSize: 16.0)), | ||
// textAlign: TextAlign.center, | ||
// ), | ||
// ); | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
abstract class TextFieldStyles { | ||
|
||
static double textBoxHorizontal(){ | ||
return 25.0; | ||
} | ||
|
||
static double textBoxVertical(){ | ||
return 8.0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters