mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-02 04:47:01 +08:00
Main OnBoading Screen: Add some padding
+ some color to the input box I would have assumed that the background color would have come by default.
This commit is contained in:
@ -26,6 +26,8 @@ class JournalApp extends StatelessWidget {
|
|||||||
theme: new ThemeData(
|
theme: new ThemeData(
|
||||||
brightness: Brightness.light,
|
brightness: Brightness.light,
|
||||||
primaryColor: Color(0xFF66bb6a),
|
primaryColor: Color(0xFF66bb6a),
|
||||||
|
primaryColorLight: Color(0xFF98ee99),
|
||||||
|
primaryColorDark: Color(0xFF338a3e),
|
||||||
accentColor: Color(0xff6d4c41),
|
accentColor: Color(0xff6d4c41),
|
||||||
),
|
),
|
||||||
navigatorObservers: <NavigatorObserver>[observer],
|
navigatorObservers: <NavigatorObserver>[observer],
|
||||||
|
@ -124,15 +124,27 @@ class OnBoardingGitUrlState extends State<OnBoardingGitUrl> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Padding(
|
||||||
'Enter the Git SSH URL',
|
padding: const EdgeInsets.all(8.0),
|
||||||
textAlign: TextAlign.center,
|
child: Text(
|
||||||
style: Theme.of(context).textTheme.display1,
|
'Enter the Git SSH URL',
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
style: Theme.of(context).textTheme.display1,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
inputForm,
|
Padding(
|
||||||
RaisedButton(
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text("Next"),
|
child: new Container(
|
||||||
onPressed: formSubmitted,
|
color: Theme.of(context).primaryColorLight,
|
||||||
|
child: inputForm,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: RaisedButton(
|
||||||
|
child: Text("Next"),
|
||||||
|
onPressed: formSubmitted,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user