Skip to content

Commit

Permalink
Revert "Added feature [#10]"
Browse files Browse the repository at this point in the history
  • Loading branch information
simform-solutions authored and BirjuVachhani committed Aug 21, 2020
1 parent 98e7fb3 commit 9bf26dd
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 110 deletions.
110 changes: 52 additions & 58 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:developer';

import 'package:example/detailscreen.dart';
import 'package:flutter/material.dart';
import 'package:showcaseview/showcaseview.dart';
import 'detailscreen.dart';

void main() => runApp(MyApp());

Expand Down Expand Up @@ -42,16 +42,12 @@ class _MailPageState extends State<MailPage> {
GlobalKey _five = GlobalKey();

@override
void initState() {
super.initState();
Widget build(BuildContext context) {
//Start showcase view after current widget frames are drawn.
WidgetsBinding.instance.addPostFrameCallback((_) =>
ShowCaseWidget.of(context)
.startShowCase([_one, _two, _three, _four, _five]));
}

@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: ListView(
Expand All @@ -76,7 +72,6 @@ class _MailPageState extends State<MailPage> {
Showcase(
key: _one,
description: 'Tap to see menu options',
disableAnimation: true,
child: Icon(
Icons.menu,
color: Colors.black45,
Expand Down Expand Up @@ -204,68 +199,67 @@ class _MailPageState extends State<MailPage> {
child: Container(
margin: const EdgeInsets.all(10),
child: Container(
width: 45,
height: 45,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.blue[200],
),
child: Center(
child: Text('S'),
),
width: 45,
height: 45,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.blue[200],
),
child: Center(
child: Text('S'),
),
),
),
Padding(padding: EdgeInsets.only(left: 8)),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
'Slack',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 17,
),
),
Padding(padding: EdgeInsets.only(left: 8)),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
'Slack',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 17,
),
Text(
'Flutter Notification',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 16,
),
),
Text(
'Flutter Notification',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 16,
),
Text(
'Hi, you have new Notification',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 15,
),
),
Text(
'Hi, you have new Notification',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 15,
),
],
)
],
),
),
Column(
children: <Widget>[
Text(
'1 Jun',
style: TextStyle(
fontWeight: FontWeight.bold,
),
),
Icon(
Icons.star_border,
color: Colors.grey,
),
],
)
],
)
],
),
),
),
Column(
children: <Widget>[
Text(
'1 Jun',
style: TextStyle(
fontWeight: FontWeight.bold,
),
),
Icon(
Icons.star_border,
color: Colors.grey,
)
],
)
],
),
),
),
),
)),
MailTile(
Mail(
sender: 'Medium',
Expand Down
153 changes: 153 additions & 0 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.2"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.5"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
path:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.2"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
showcaseview:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.1.0"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
source_span:
dependency: transitive
description:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.5"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.3"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.5"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
sdks:
dart: ">=2.2.2 <3.0.0"
Loading

0 comments on commit 9bf26dd

Please sign in to comment.