Skip to content

Commit

Permalink
doc:update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
eliezerantonio committed Oct 30, 2023
1 parent 4addfcc commit 2d1b024
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,29 @@ FlutterCarouselIntro(
slides: [
SliderItem(
title: 'Title 1',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
subtitle: const Text('Lorem Ipsum is simply dummy text'),
widget: SvgPicture.asset("assets/slide-1.svg"),
),
SliderItem(
title: 'Title 2',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
subtitle: const Text('Lorem Ipsum is simply dummy text'),
widget: SvgPicture.asset("assets/slide-2.svg"),
),
SliderItem(
title: 'Title 3',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
subtitle: const Text('Lorem Ipsum is simply dummy text'),
widget: SvgPicture.asset("assets/slide-3.svg"),
),
SliderItem(
title: 'Title 4',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
subtitle: const Text('Lorem Ipsum is simply dummy text'),
widget: SvgPicture.asset("assets/slide-4.svg"),
),
SliderItem(
title: 'Title 5',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
subtitle: const Text('Lorem Ipsum is simply dummy text'),
widget: SvgPicture.asset("assets/slide-5.svg"),
subtitleTextStyle: Theme.of(context).textTheme.displaySmall,
displaySmall,
),
],
);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ see in Flutter Gems: <https://fluttergems.dev/packages/flutter_carousel_intro>

## Installation

Add `flutter_carousel_intro: ^1.0.10` to your `pubspec.yaml` dependencies. And import it:
Add `flutter_carousel_intro: ^1.0.11` to your `pubspec.yaml` dependencies. And import it:

```dart
import 'package:flutter_carousel_intro/flutter_carousel_intro.dart';
Expand Down
11 changes: 3 additions & 8 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,9 @@ class MyApp extends StatelessWidget {
}
}

class MyHomePage extends StatefulWidget {
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key});

@override
State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return const Scaffold(
Expand All @@ -53,8 +48,8 @@ class MySlideShow extends StatelessWidget {
autoPlaySlideDurationTransition: const Duration(milliseconds: 1100),
primaryColor: const Color(0xff6C63FF),
secondaryColor: Colors.grey,
scrollDirection: Axis.horizontal,
indicatorAlign: IndicatorAlign.bottom,
scrollDirection: Axis.vertical,
// indicatorAlign: IndicatorAlign.bottom,
indicatorEffect: IndicatorEffects.jumping,
showIndicators: true,
slides: [
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.5"
version: "1.0.10"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_carousel_intro
description: The FlutterCarouselIntro is an amazing package that makes it easy to build and implement animated onboarding screens in Flutter applications.
version: 1.0.10
version: 1.0.11
homepage: https://eliezer-antonio-9108b.web.app/
repository: https://github.com/eliezerantonio/flutter_carousel_intro

Expand Down

0 comments on commit 2d1b024

Please sign in to comment.