Code Monkey home page Code Monkey logo

dkscontactus's Introduction

DksContactUs

The most common functionality added in any commercial app is the Developer's contact details!! So this package helps the developers to simply add their details.

Help Maintenance

I've been maintaining quite many repos these days and burning out slowly. If you could help me cheer up, buying me a cup of coffee will make my life really happy and get much energy out of it.
Buy Me A Coffee

Getting started

Example: Add the module to your project pubspec.yaml:

... 
  dependencies:
  ...
    dkscontactus: ^0.0.1+4
...

And install it using flutter packages get on your project folder. After that, just import the module and use it:

import 'package:dkscontactus/dkscontactus.dart';

#Developers can add following details: Company Logo Phone Number Website Email ID Twitter Handle Instagram ID Youtube UserName Facebook Handler Linkedin URL Github UserName

Best feature is that, when the user clicks on any detail, respective app/web page will be opened.

Customization

Developer's you can customizedable dialog radius, dialog style, icons, fonts, text along with the custom color for divider and font weights.

Example Code for creating an entire page using following code below

DksContactUs(
          dialogTextStyle: TextStyle(color: Colors.black),
          isCircularIcon: true,
          email: '[email protected]',
          emailText: 'Send email',
          websiteText: 'Dks Dev.',
          website: 'https://www.dksdev.com',
          textStyle: TextStyle(color: Colors.white),
          cardColor: Colors.black,
        ),

Note: website link should be full including http/https

#Icons We have 2 different types of icons to show one is circular and other is square as per your design you can choose one of them Just change the code like below to achive circular icons

isCircularIcon: true

How example looks


To archive square icon, just follow below code
isCircularIcon: false

How example looks


#Dialog Now we have 2 different styles of dialog one is vertical 'style1' this one is also a default style too and other is horizontal 'style2' you just need to change 'dialogStyle' as shown below
dialogStyle: 'style1' 

How example looks


Another dialog style is
dialogStyle: 'style2'

How example looks

dkscontactus's People

Contributors

dhruv9045 avatar gocashitdks avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.