Add Logo to App

This commit is contained in:
Evan Reichard 2021-02-22 01:37:41 -05:00
parent a3e3544ee8
commit 6827a2994a
5 changed files with 6 additions and 25 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -30,13 +30,6 @@ class IOClientWithCookies extends IOClient {
if (response.headers.containsKey("x-imagini-refreshtoken")) {
await _storage.set("refreshToken", response.headers["x-imagini-refreshtoken"]);
}
_accessToken = await _storage.get("accessToken");
_refreshToken = await _storage.get("refreshToken");
print("Access Token: $_accessToken");
print("Refresh Token: $_refreshToken");
return response;
});
}

View File

@ -108,17 +108,9 @@ class _HomeScreenState extends State<HomeScreen> {
constraints: BoxConstraints(maxWidth: 500),
child: Container(
margin: EdgeInsets.fromLTRB(50, 0, 50, 0),
height: 270,
height: 370,
child: Column(
children: <Widget>[
Container(
child: FittedBox(
fit: BoxFit.contain,
child: const FlutterLogo(),
),
width: 175,
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
),
PlatformCircularProgressIndicator()
],
),

View File

@ -65,14 +65,11 @@ class _LoginScreenState extends State<LoginScreen> {
constraints: BoxConstraints(maxWidth: 500),
child: Container(
margin: EdgeInsets.fromLTRB(50, 0, 50, 0),
height: 270,
height: 275,
child: Column(
children: <Widget>[
Container(
child: FittedBox(
fit: BoxFit.contain,
child: const FlutterLogo(),
),
child: Image(image: AssetImage('assets/imagini_full.png')),
width: 175,
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
),
@ -102,10 +99,7 @@ class _LoginScreenState extends State<LoginScreen> {
child: Column(
children: <Widget>[
Container(
child: FittedBox(
fit: BoxFit.contain,
child: const FlutterLogo(),
),
child: Image(image: AssetImage('assets/imagini_full.png')),
width: 175,
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
),

View File

@ -35,6 +35,8 @@ dev_dependencies:
flutter:
uses-material-design: true
assets:
- assets/imagini_full.png
flutter_icons:
android: "launcher_icon"