Customizable Cool Dropdown UI

Cool drop down

Features

  • All customizable css(font, fontsize. color, icon, dropdown box decoration...)
  • Auto scroll to selected item position
  • dropdownBox is automatically placed. It's based on the position of the dropdown on the screen.(top/bottom)
  • Support triangle arrow
  • Support overflow ellipsis
  • "COOL"

Samples

Options map

Installing

command:

 $ flutter pub add cool_dropdown

pubspec.yaml:

dependencies:  cool_dropdown: ^(latest)

Usage

import 'package:cool_dropdown/cool_dropdown.dart';List dropdownItemList = [  {'label': 'apple', 'value': 'apple'}, // label is required and unique  {'label': 'banana', 'value': 'banana'},  {'label': 'grape', 'value': 'grape'},  {'label': 'pineapple', 'value': 'pineapple'},  {'label': 'grape fruit', 'value': 'grape fruit'},  {'label': 'kiwi', 'value': 'kiwi'},];CoolDropdown(              dropdownList: dropdownItemList,              onChange: (_) {},              defaultValue: dropdownItemList[3],              // placeholder: 'insert...',            )

Important options

 

import 'package:flutter_svg/flutter_svg.dart';          List dropdownItemList = [  {    'label': 'apple',    'value': 'apple',    'icon': Container(        // if you want to use icon, you have to declare key as 'icon'       key: UniqueKey(),       // you have to use UniqueKey()       height: 20,       width: 20,       child: SvgPicture.asset(          // I recommend to use this library, if you want to use svg extension         'assets/apple.svg',       ),     ),    'selectedIcon': Container(          // if you want to use different icon when user select item, you have to declare key as 'selectedIcon'      key: UniqueKey(),      width: 20,      height: 20,      child: SvgPicture.asset(        'assets/apple.svg',        color: Color(0xFF6FCC76),      ),    ),  }];

Dropdown options

dropdownBD = BoxDecoration(          color: Colors.white,          borderRadius: BorderRadius.circular(10),          boxShadow: [            BoxShadow(              color: Colors.grey.withOpacity(0.1),              spreadRadius: 1,              blurRadius: 10,              offset: Offset(0, 1),            ),          ],        );
dropdownTS = TextStyle(            fontSize: 20,            color: Colors.black,          );
dropdownPadding = const EdgeInsets.only(left: 10, right: 10);
dropdownAlign = Alignment.centerLeft;
placeholderTS = TextStyle(color: Colors.grey.withOpacity(0.7), fontSize: 20);

DropdownBox & triangle options

dropdownBoxBD = BoxDecoration(          borderRadius: BorderRadius.circular(10),          color: Colors.white,          boxShadow: [            BoxShadow(              color: Colors.grey.withOpacity(0.1),              spreadRadius: 1,              blurRadius: 10,              offset: Offset(0, 1),            ),          ],        );
dropdownBoxPadding = const EdgeInsets.only(left: 10, right: 10);
dropdownItemPadding = const EdgeInsets.only(left: 10, right: 10);
selectedItemBD = BoxDecoration(          color: Color(0XFFEFFAF0),          borderRadius: BorderRadius.circular(10),        );
selectedItemTS = TextStyle(color: Color(0xFF6FCC76), fontSize: 20);
selectedItemPadding = const EdgeInsets.only(left: 10, right: 10);
unselectedItemTS = TextStyle(            fontSize: 20,            color: Colors.black,          );

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add cool_dropdown

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:  cool_dropdown: ^1.1.0

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:cool_dropdown/cool_dropdown.dart'; 

example/lib/main.dart

import 'package:flutter/material.dart';import 'package:cool_dropdown/cool_dropdown.dart';import 'package:flutter_svg/flutter_svg.dart';void main() {  runApp(MyApp());}class MyApp extends StatefulWidget {  @override  _MyAppState createState() => _MyAppState();}List dropdownItemList = [];List<String> pokemons = [  'pikachu',  'charmander',  'squirtle',  'bullbasaur',  'snorlax',  'mankey',  'psyduck',  'meowth'];List<String> fruits = [  'apple',  'banana',  'grapes',  'lemon',  'melon',  'orange',  'pineapple',  'strawberry',  'watermelon',];class _MyAppState extends State<MyApp> {  List<Map> pokemonsMap = [];  @override  void initState() {    for (var i = 0; i < pokemons.length; i++) {      pokemonsMap.add({        'label': '${pokemons[i]}',        'value': '${pokemons[i]}',        'icon': Container(          height: 25,          width: 25,          child: SvgPicture.asset(            'assets/${pokemons[i]}.svg',          ),        ),      });    }    for (var i = 0; i < fruits.length; i++) {      dropdownItemList.add(        {          'label': fruits[i] == 'melon' ? 'melon sugar high' : '${fruits[i]}',          // 'label': '${fruits[i]}',          'value': '${fruits[i]}',          'icon': Container(            key: UniqueKey(),            height: 20,            width: 20,            child: SvgPicture.asset(              'assets/${fruits[i]}.svg',            ),          ),          'selectedIcon': Container(            key: UniqueKey(),            width: 20,            height: 20,            child: SvgPicture.asset(              'assets/${fruits[i]}.svg',              color: Color(0xFF6FCC76),            ),          ),        },      );    }    super.initState();  }  @override  Widget build(BuildContext context) {    return MaterialApp(      debugShowCheckedModeBanner: false,      home: Scaffold(        appBar: AppBar(          backgroundColor: Color(0xFF6FCC76),          title: Text('Cool Drop Down'),        ),        body: ListView(          children: [            SizedBox(              height: 100,            ),            Center(              child: CoolDropdown(                dropdownList: dropdownItemList,                onChange: (selectedItem) {                  print(selectedItem);                },                // dropdownBoxBD: BoxDecoration(                //     color: Colors.white, border: Border.all(width: 20)),              ),            ),            SizedBox(              height: 200,            ),            Center(              child: CoolDropdown(                dropdownWidth: 70,                // dropdownIcon: Container(), // if you don't want to use Icon you can set empty Container                dropdownList: dropdownItemList,                isDropdownLabel: false,                onChange: (a) {},                dropdownItemReverse: true,                dropdownItemMainAxis: MainAxisAlignment.start,                dropdownMainAxis: MainAxisAlignment.start,                labelIconGap: 20,              ),            ),            SizedBox(              height: 200,            ),            Center(              child: CoolDropdown(                dropdownList: pokemonsMap,                dropdownItemPadding: EdgeInsets.zero,                onChange: (dropdownItem) {},                dropdownHeight: 50,                dropdownWidth: 50,                dropdownBoxWidth: 50,                dropdownBoxHeight: 200,                dropdownItemHeight: 30,                dropdownItemGap: 10,                dropdownIcon: Container(                  width: 25,                  height: 25,                  child: Container(                    width: 25,                    height: 25,                    child: SvgPicture.asset(                      'assets/pokeball.svg',                    ),                  ),                ),                dropdownIconLeftGap: 0,                dropdownPadding: EdgeInsets.zero,                dropdownIconRotation: true,                dropdownIconRotationValue: 1,                isDropdownBoxLabel: false,                isDropdownLabel: false,                isDropdownIconLabel: false,                dropdownBoxPadding: EdgeInsets.zero,                dropdownAlign: Alignment.center,                dropdownMainAxis: MainAxisAlignment.center,                dropdownItemMainAxis: MainAxisAlignment.center,                selectedItemBD: BoxDecoration(                    border: Border(                        left: BorderSide(                            color: Colors.black.withOpacity(0.7), width: 3))),                triangleWidth: 10,                triangleHeight: 10,                triangleAlign: 'center',                dropdownBoxAlign: 'center',                gap: 20,              ),            ),            SizedBox(              height: 400,            )          ],        ),      ),    );  }} 

Download Details:

Author: joo6077

Source Code: https://github.com/joo6077/cool_dropdown

#dart  #dropdown 

What is GEEK

Buddha Community

Customizable Cool Dropdown UI

UI Designer Vs UI Developer

Comparing UI Designers to UI Developers
User interface (UI) designers and developers are directly responsible for the consumer base’s experience using an application or software program. Designers specifically deal with the visual aspects of the program, while developers deal with the overall performance and functionality of the software.
To get in depth knowledge on UI, enrich your skills on UI online training Course

Responsibilities of UI Designers vs. UI Developers
UI designers and developers work in tandem to create a program or application that is easy to understand and operate by their customers or clients. Though there may be some occasional overlap in the duties within the workplace, their designated duties are quite clear and are dependent on the other. UI developers are responsible for the coding and programming in the conception of an application, specifically with regard to how the software operates at the hands of the user. UI designers are in charge of applying their understanding of the program operations to create a visual experience that is most compatible to the program’s functionality.

UI Designers
User interface designers are tasked with understanding the programming language of the application in creation so that they can conceptualize and craft visual aspects that will facilitate usage of the program. They are expected to understand computer programming as well as graphic design due to the demands of their work, since they are in charge of incorporating their designs into the program correctly. Their designs are implemented into the layout, which is typically drafted by the developers, while the style of their designs is contingent on the guidelines given by the directors. Once these designs are finished, they must implement them into the program and run a demo of it for the developers and directors to ensure they met the needs and expectations of the project while ensuring there aren’t any bugs caused from their designs. Get more skills from UI Training

Other responsibilities of UI designers are as follows:

  • Make drafts in graphic design and editing software
  • Select fonts and determine color schemes, for consistency
  • Proficiency in programming codes such as Java or CSS
  • Create storyboards and test runs of animated, visual concepts

UI Developers
User interface developers are responsible for the functional aspects of a software application, coding and programming throughout all stages of development with the clients and potential users of the application in mind. They usually begin the process by incorporating the clients’ expressed needs into a layout that is modified as progress is made. Once they get the general functions working, the designers will incorporate their visual conceptions into the layout to ensure that the first draft is operational. If there are any bugs or malfunctions to fix, the developers must troubleshoot and patch the application. While doing these tasks, they must take detailed notes of all the progress made to streamline any future updates made to the program, functionally or aesthetically. Learn more from ui design course

UI developers will also be responsible for:

  • Utilizing research data to improve or build onto the design of the application
  • Suggesting any software updates to improve functionality
  • Constructing diagrams that will aide other developers and programmers on the project
  • Performing test runs of the application

#ui design course #ui training #online ui training #ui online course #ui online training #advanced ui design course

UX designer ? UI designer ? UI Developer ?

The UX designer is someone who thinks about what should the user flow be like, which page should lead to which page, when should a confirm popup appear or not appear, should there be a listing page before or after a create-new page, should there be an address field in the page or geolocation is enough to serve the purpose? After brainstorming through each of these and several other questions, the UX designer comes up with something known as wireframes, which in simple terms is just a blueprint of the website/app.
This is image title

To get in-Depth knowledge on UI Design you can enroll for a live demo on UI online training

The UI designer then takes the wireframes and makes them beautiful, also ensuring that the workflow of the product is communicated well to the user. He will add the pixel level details to the wireframes. What should be the font used, what should be the background image, do we need a background image, what should be the foreground color, how big should be the submit button, does it make more sense to have the menu at the bottom of the screen, what should the logo look like? The job of a UI designer is answering all these and thereafter delivering static mockups, using may be Photoshop, Invision and many other design tools.

The UI developer is the one who puts these static mockups in “real code”. They might need skills like HTML CSS , precompilers(like sass or less) , UI frameworks (like bootstrap or foundation), or xml layouts( in case of android UI) or a combined knowledge of all of them with Javascript (in case of react, react native). The result is a beautiful set of screens/pages which can be actually rendered in a browser or a mobile device.Learn more from ui design course

#ui online course #ui design course #ui training #online ui training #ui courses online #ui design classes online

A Comprehensive Guide to UI

UI (USER INTERFACE)

UI or User Interface is the interface that is the access point where users interact with computers. It is also a way through which users can interact with a website or an application. UI design typically refers to graphical user interfaces but also includes others, such as voice-controlled ones, a keyboard, a mouse, and the appearance of a desktop.

UI design considers the look, feel, and interactivity of the product. Users judge the design on the basis of usability and likeability very swiftly, so a designer will focus on making each visual element look pleasurable and meaningful. The designer has to consider the color scheme, font imagery, spacing, responsiveness. Also, understanding the user’s context and mindset is crucial while making design decisions.

Types of user interfaces

The various types of user interfaces include:

  • graphical user interface (GUI
  • command line interface (CLI)
  • menu-driven user interface
  • touch user interface
  • voice user interface (VUI)
  • form-based user interface
  • natural language user interface

UI vs UX

Often confused a lot and understood one and the same thing terms UI and UX are related but not the same.

UX or User Experience describes the overall experience of the product and the UI only considers the appearance of the product. A UX designer’s work is to make the product usable and useful. UX means focusing on the whole user journey and the steps a user will take to attain a goal. UX designers will make wireframes without making any detailed design decisions for each wireframe. Once the wireframes are final they are handed over to UI designers to start adding emotions to it through design and animations.

UI is a part of UX which helps in making the user experience more pleasurable and user-centric. UI designer’s job is to make the product visually appealing and desirable. Where a UX designer will try to make a critical judgment on what feature to add and how to user will interact, a UI designer will make critical design decisions regarding those features. Like what should be the font, color scheme, and animations for the features and pages decided by the UX team.

Let’s take a scenario to see how UI designers and UX designers influence the same feature differently.

  • A UX designer will decide whether a page will have a top navigation bar, side navigation bar, or bottom. What links should be added to the bar and whether there will be a search bar in it or not.

  • A UI designer will decide what will be the color scheme of the navigation bar, whether to use icons or text in link buttons, what should be the font style, what animation to use when the user toggles navigation bar or switch between pages.

#scala #user interface (ui) #good design #principles of ui #ui #ui vs ux #user experience #user interface #ux #what is ui #what is ux

UI/UX Design & Development Company | UI/UX Design Services

UI/UX Design & Development Company

The main factor that defines the success of any mobile app or website is the UI/UX of that app. The UI/UX is responsible for app elegance and ease of use of the app or website.

Want a unique UI/UX designer for an app or website development?

WebClues Infotech has the best UI/UX developers as they have a good experience of developing more than 950+ designs for the customers of WebClues Infotech. With a flexible price structure based on customer requirements, WebClues Infotech is one of the efficient and flexible UI/UX developers.

Want to know more about our UI/UX design services?

Visit: https://www.webcluesinfotech.com/ui-ux-development-company/

Share your requirements https://www.webcluesinfotech.com/contact-us/

View Portfolio https://www.webcluesinfotech.com/portfolio/

#ui/ux design & development company #ui/ux design services #ui ux design company #ui/ux development services #hire ui/ux designers #hire dedicated ui/ux designer

DIFFERENCE BETWEEN UI/UX DESIGNER AND UI/UX ENGINEER

UI is a User Interface while UX is a User Experience. First of all, several people recognize it to be the same which is incorrect. They are deeply related but pretty inconsistent. UI is more relevant to the designing phase while UX is more relevant to analysis and scientific perspectives.

UI/UX Designer vs UI/UX Engineer
UI/UX Designer

The most reliable system to know the difference between User Interface/User Experience designer and developer is to learn the skill set they need to own. Coming first to the designer, as declared earlier, they require to study and design. In other words, they require learning and interpreting the needs of the users and express concepts and design concepts that those clients will prefer to use. Hence, they require having a perception of online users’ behaviors, psychology, and important features. One requires walking in the shoes of the online users and obtaining a comprehensive hold of what is cooking inside their heads while they are browsing.

To get in dept knowledge on UI, enrich your skills on ui online training

But that is all non-technical abilities. For a designer, the following skill set is also essential and they are technical. It is similar to graphic designing. A User Interface/User Experience designer requires understanding all the industrial-standard design tools particularly the ones that are generally utilized. Not just that, he must have a comprehensive idea about the professional designing method that comprises the UI UX Development Company as well as the application developers. The wireframes of the application are composed of UI/UX designer which form the groundwork on any application. Hence, it is a combinational skill set of analysis, research, and design.

UI/UX Engineer
As said earlier, the position of UI/UX engineer is more functional and technical. After the analysis and review part is performed by the UI/UX designer, he colludes with the UI/UX designer to design the wireframe and also know the assessment process and the concepts and motivations behind all the designs. He has to spend attention to the point the design seems good and it is useful on all browsers or operating systems or machine configurations. A UI/UX designer may not possess any concept whether what he is designing will operate on all browsers or not and therefore, the collaboration is sufficient to make the ultimate design that works for the UI/UX engineer as well as the application developer.Learn more from ui design course

After the collaboration is made, the engineer must decode the wireframes and all the ideas into the practical output. Hence, apart from having a design skillset, he requires to understand the programming languages utilized to design the front-end of any application. Amongst the front-end programming languages, HTML+JS+CSS is a necessity. Then it relies on the application as well as the technology the firm utilizes for the front-end development. It can also rely on the need of the customers.

Sometimes, the responsibility of converting wireframes into HTML layouts is performed by UI.UX designer and the UI/UX developer fine shape them so that the application developer can begin developing the back-end and combine it with the front-end seamlessly. He has to retain in mind how the designs of the front-end he is planning are going to act in different browsers, how much time it will demand to upload, how many resources it will use, how the clients will react and much more. UI UX Designing Agency in Qatar.

Appearances Approached:
A UI/UX designer is also regarded with the appearance and feel of the interface. He is into client surveying, client analysis, and then doing design analysis of the competitors, and then imagining the design plans. After that, he is regarded with branding and graphics development. On the other side, a UI/UX engineer is regarded with responsiveness and interactivity. The primary thing he pays consideration to is UI prototyping. Once that is out of the way, he looks into the interactivity and animation facets. The adaption to all tools, platforms, and browsers is taken care of and the deceptions of the design perspectives are stroke off. Then he starts the implementation after getting the application developer on board.

In technological terms, the job description of UI UX Design Agency is analysis, data design, and visual design. The job specification of a User Interface/User Experience engineer is visual design, interactive design, and front-end development. Because of the front-end part, the salary of engineers is more than the designer relied on similar years of experience. You can begin as a UI/UX designer and initiate a transition to the UI/UX engineer with adequate experience.

Get more insights and knowledge with practical experience by getting into [Online ui training](https://onlineitguru.com/ui-design-course “Online ui training”) from the industry best IT Guru. This learning may help to enhance skills and plan for a better future.

#ui design course #ui training #online ui training #user interface design course #ui development course #ui design classes online