Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Codebox124 committed Jul 5, 2023
1 parent a047ba3 commit c8a710a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
File renamed without changes
9 changes: 8 additions & 1 deletion lib/screens/Logins page/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ class _LoginPageState extends State<LoginPage> {
)
],
),
Image.asset('asset/imgs/logo')
Padding(
padding: const EdgeInsets.all(20),
child: Image.asset('assets/imgs/logo.png', width: 100),
),
TextFormField(

),

]),
),
);
Expand Down
21 changes: 12 additions & 9 deletions lib/screens/onboard_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,18 @@ class _OnboardScreenState extends State<OnboardScreen> {
),
),
body: Center(
child: Column(
children: [
Image.asset("asset/imgs/logo.png"),
Text(
"OPAY",
style: TextStyle(
color: Colors.white, fontSize: 40, fontWeight: FontWeight.bold),
),
],
child: Padding(
padding: const EdgeInsets.only(top: 40),
child: Column(
children: [
Image.asset("assets/imgs/logo.png"),
Text(
"OPAY",
style: TextStyle(
color: Colors.white, fontSize: 40, fontWeight: FontWeight.bold),
),
],
),
),
),
);
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ flutter:
uses-material-design: true

# To add assets to your application, add an assets section, like this:
assets:
- asset/imgs/
assets:
- assets/imgs/
# - images/a_dot_ham.jpeg

# An image asset can refer to one or more resolution-specific "variants", see
Expand Down

0 comments on commit c8a710a

Please sign in to comment.