flutter_boarding 0.1.0-dev.3 flutter_boarding: ^0.1.0-dev.3 copied to clipboard
A Simply create introduction board in Flutter, create [Boading] based on parent key.
#
A Simply create introduction board in Flutter, create [Boading] based on parent key.
Example #
_boardingController.showBoarding(
context,
content: BoardingContent(
items: <BoardingWidget>[
BoardingWidget(
leading: Row(
mainAxisSize: MainAxisSize.min,
children: [
Icon(
Icons.access_alarm,
color: Colors.white,
),
const SizedBox(width: 10),
Text(
"Boarding 1",
style: TextStyle(
color: Colors.white,
fontSize: 18,
fontWeight: FontWeight.bold,
),
),
],
),
boardingItem: [
BoardingItem(
icon: Icon(
Icons.group,
size: 18,
),
message:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
),
BoardingItem(
icon: Icon(
Icons.history,
size: 18,
),
message:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
),
],
),
BoardingWidget(
leading: Row(
mainAxisSize: MainAxisSize.min,
children: [
Icon(
Icons.access_alarm,
color: Colors.white,
),
const SizedBox(width: 10),
Text(
"Boarding 2",
style: TextStyle(
color: Colors.white,
fontSize: 18,
fontWeight: FontWeight.bold,
),
),
],
),
boardingItem: [
BoardingItem(
icon: Icon(
Icons.group,
size: 18,
),
message:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
),
BoardingItem(
icon: Icon(
Icons.history,
size: 18,
),
message:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
),
],
),
BoardingWidget(
leading: Row(
mainAxisSize: MainAxisSize.min,
children: [
Icon(
Icons.access_alarm,
color: Colors.white,
),
const SizedBox(width: 10),
Text(
"Boarding 3",
style: TextStyle(
color: Colors.white,
fontSize: 18,
fontWeight: FontWeight.bold,
),
),
],
),
boardingItem: [
BoardingItem(
icon: Icon(
Icons.group,
size: 18,
),
message:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
),
BoardingItem(
icon: Icon(
Icons.history,
size: 18,
),
message:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
),
],
),
],
keys: _keys,
),
);
🚧 Maintener #
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com