Skip to content

Commit

Permalink
Fixed some import issue with intro scene
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan99 committed Jun 7, 2019
1 parent 0544aca commit 46e9814
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions lib/pages/intro_screen.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:eva_icons_flutter/eva_icons_flutter.dart';
import 'package:flutter/material.dart';
import 'package:intro_slider/intro_slider.dart';
import 'package:eva_icons_flutter/eva_icons_flutter.dart';
import 'package:intro_slider/slide_object.dart';

class IntroScreen extends StatefulWidget {
IntroScreen({Key key}) : super(key: key);
Expand All @@ -25,7 +26,7 @@ class IntroScreenState extends State<IntroScreen> {
fontWeight: FontWeight.bold,
fontFamily: 'RobotoMono'),
description:
"Treat your infant's autism at with Allisto :)",
"Treat your infant's autism at with Allisto :)",
styleDescription: TextStyle(
color: Colors.pink,
fontSize: 20.0,
Expand All @@ -43,7 +44,7 @@ class IntroScreenState extends State<IntroScreen> {
fontWeight: FontWeight.bold,
fontFamily: 'RobotoMono'),
description:
"Early and easy diagnosis right at your home.",
"Early and easy diagnosis right at your home.",
styleDescription: TextStyle(
color: Colors.pink,
fontSize: 20.0,
Expand All @@ -61,7 +62,7 @@ class IntroScreenState extends State<IntroScreen> {
fontWeight: FontWeight.bold,
fontFamily: 'RobotoMono'),
description:
"Powered and accompnaied by a smart AI",
"Powered and accompnaied by a smart AI",
styleDescription: TextStyle(
color: Colors.pink,
fontSize: 20.0,
Expand Down Expand Up @@ -122,11 +123,11 @@ class IntroScreenState extends State<IntroScreen> {
children: <Widget>[
GestureDetector(
child: Image.asset(
currentSlide.pathImage,
width: 200.0,
height: 200.0,
fit: BoxFit.contain,
)),
currentSlide.pathImage,
width: 200.0,
height: 200.0,
fit: BoxFit.contain,
)),
Container(
child: Text(
currentSlide.title,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ packages:
name: intro_slider
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
version: "2.2.0"
matcher:
dependency: transitive
description:
Expand Down

0 comments on commit 46e9814

Please sign in to comment.