Add Logo to App
This commit is contained in:
parent
a3e3544ee8
commit
6827a2994a
BIN
web_native/assets/imagini_full.png
Normal file
BIN
web_native/assets/imagini_full.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
@ -30,13 +30,6 @@ class IOClientWithCookies extends IOClient {
|
|||||||
if (response.headers.containsKey("x-imagini-refreshtoken")) {
|
if (response.headers.containsKey("x-imagini-refreshtoken")) {
|
||||||
await _storage.set("refreshToken", response.headers["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;
|
return response;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -108,17 +108,9 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||||||
constraints: BoxConstraints(maxWidth: 500),
|
constraints: BoxConstraints(maxWidth: 500),
|
||||||
child: Container(
|
child: Container(
|
||||||
margin: EdgeInsets.fromLTRB(50, 0, 50, 0),
|
margin: EdgeInsets.fromLTRB(50, 0, 50, 0),
|
||||||
height: 270,
|
height: 370,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Container(
|
|
||||||
child: FittedBox(
|
|
||||||
fit: BoxFit.contain,
|
|
||||||
child: const FlutterLogo(),
|
|
||||||
),
|
|
||||||
width: 175,
|
|
||||||
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
|
|
||||||
),
|
|
||||||
PlatformCircularProgressIndicator()
|
PlatformCircularProgressIndicator()
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -65,14 +65,11 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
constraints: BoxConstraints(maxWidth: 500),
|
constraints: BoxConstraints(maxWidth: 500),
|
||||||
child: Container(
|
child: Container(
|
||||||
margin: EdgeInsets.fromLTRB(50, 0, 50, 0),
|
margin: EdgeInsets.fromLTRB(50, 0, 50, 0),
|
||||||
height: 270,
|
height: 275,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Container(
|
Container(
|
||||||
child: FittedBox(
|
child: Image(image: AssetImage('assets/imagini_full.png')),
|
||||||
fit: BoxFit.contain,
|
|
||||||
child: const FlutterLogo(),
|
|
||||||
),
|
|
||||||
width: 175,
|
width: 175,
|
||||||
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
|
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
|
||||||
),
|
),
|
||||||
@ -102,10 +99,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Container(
|
Container(
|
||||||
child: FittedBox(
|
child: Image(image: AssetImage('assets/imagini_full.png')),
|
||||||
fit: BoxFit.contain,
|
|
||||||
child: const FlutterLogo(),
|
|
||||||
),
|
|
||||||
width: 175,
|
width: 175,
|
||||||
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
|
margin: EdgeInsets.fromLTRB(0, 0, 0, 50),
|
||||||
),
|
),
|
||||||
|
@ -35,6 +35,8 @@ dev_dependencies:
|
|||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
assets:
|
||||||
|
- assets/imagini_full.png
|
||||||
|
|
||||||
flutter_icons:
|
flutter_icons:
|
||||||
android: "launcher_icon"
|
android: "launcher_icon"
|
||||||
|
Reference in New Issue
Block a user