guide_widget
A new Flutter package project for guide page.
Getting Started
How to Use
# add this line to your dependencies
guide_widget: ^0.0.1
import 'package:guide_widget/guide_widget.dart';
GuideWidget(
images: urls,
selectedColor: const Color(0xff1BB754),
unSelectedColor: Colors.white,
circleRadius: 10.0,
indicatorPaddingBottom: 10.0,
indicatorStyle: IndicatorStyle.CIRCLE,
enter: RaisedButton(
color: const Color(0xff1BB754),
onPressed: () {
// TODO
},
textColor: Colors.white,
child: Text('Enter app'),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(8))),
))
API
property | description | defaultValue |
---|---|---|
images | List | |
selectedColor | Color | Color(0xff1BB754) |
unSelectedColor | Color | Colors.white |
indicatorStyle | enum | IndicatorStyle.CIRCLE |
circleRadius | double | 10.0 |
ellipticalWidth | double: when 'indicatorStyle' property is IndicatorStyle.ELLIPTICAL valid | 16.0 |
ellipticalHeight | double: when 'indicatorStyle' property is IndicatorStyle.ELLIPTICAL valid | 8.0 |
cornerRadius | double | 10.0 |
indicatorPaddingBottom | double | 10.0 |
enter | Widget: whatever you want widget,such as 'enter immediately' button |
Libraries
Dart
- dart:ui
- Built-in types and core primitives for a Flutter application. [...]
- dart:async
- Support for asynchronous programming, with classes such as Future and Stream. [...]
- dart:collection
- Classes and utilities that supplement the collection support in dart:core. [...]
- dart:convert
- Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
- dart:core
- Built-in types, collections, and other core functionality for every Dart program. [...]
- dart:developer
- Interact with developer tools such as the debugger and inspector. [...]
- dart:math
- Mathematical constants and functions, plus a random number generator. [...]
- dart:typed_data
- Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]
- dart:ffi
- Foreign Function Interface for interoperability with the C programming language. [...]
- dart:io
- File, socket, HTTP, and other I/O support for non-web applications. [...]
- dart:isolate
- Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]
- dart:html
- HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
- dart:js
- Low-level support for interoperating with JavaScript. [...]
- dart:js_util
- Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.