Skip to content

ibhavikmakwana/sample_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample_data

A new Flutter package that generate random sample data to test your application.

It is inspired from the Anroid's Sample data.

Preview

Screenshot

How to use

import sample data in your file.

import 'package:sample_data/sample_data.dart';
ListTile(
  contentPadding: const EdgeInsets.all(8),
  leading: Image.asset(
    kidsAvatar(),
    package: 'sample_data',
  ),
  title: Text(
    userName(),
  ),
),

To use the any asset (avatar and kidsAvatar) make sure you declare the package:'sample_data' in Widget (in our case Image.asset(...)).

Contribute

  1. Fork the the project
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make required changes and commit (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Donate

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕

  • PayPal
  • Google Pay (bhavikmakwana43@okhdfcbank)

License

Copyright (c) 2019 Bhavik Makwana

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.the packages.

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

generate random sample data to test your application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published