https://github.com/emrd/flutter-expandable-card-package
https://github.com/emrd/flutter-expandable-card-package
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emrd/flutter-expandable-card-package
- Owner: EmrD
- License: other
- Created: 2024-12-15T16:25:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T16:25:53.000Z (over 1 year ago)
- Last Synced: 2025-06-21T21:36:39.247Z (12 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/simplexpandablecard
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
SimopleExpandable Card Widget In Flutter. This is an exmaple package to show how to make an widget with Flutter.
## Features
- Expandable Card View
- Custom Colors And Texts
- Simple Usage
## Getting started
- Install the package: `flutter pub add simplexpandablecard`
## Usage
```dart
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
home: Scaffold(
appBar: AppBar(
title: const Text('Expandable Card Example'),
),
body: Padding(
padding: const EdgeInsets.all(16.0),
child: SimpleExpandableCard(
title: 'Expandable Card Title',
cardColor: Colors.lightBlue[50]!,
titleColor: Colors.deepPurple,
iconColor: Colors.deepPurpleAccent,
borderRadius: 12.0,
padding: const EdgeInsets.all(24.0),
child: const Text('Here is the expanded content'),
),
),
),
);
}
}
```