FLUTTER ECOSYSTEM

agryva/Somedialog

자산, 네트워크 및 Lottie를 사용하여 아름다운 대화형 UI를 처리하는 Flutter 패키지

어떤 대화상자 프로젝트 이미지
Stars
18
Forks
10
최근 푸시(UTC)
2020. 7. 6.
프로젝트 상태
활성
Irvan Lutfi Gunawan GitHub avatar
GITHUB User

Irvan Lutfi Gunawan ↗

Fullstack Engineer

Bandung, Indonesia공식 웹사이트 ↗
언어DartSwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 5 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Somedialog

pub package License support

Flutter package for handle a nice dialog ui using assets, netwok, and lottie image

Help Maintenance

I've taken the time to make this library, help support to develop it or buy me coffee and snacks to be even more enthusiastic
Buy Me A Coffee Paypal

https://raw.githubusercontent.com/agryva/Somedialog/master/screen/dialog.jpg
Dialog

Getting Started

Setup

Add dependency to your pubspec.yaml:

somedialog: ^{latest_version}
Basic use

First, add an import to your code:

import 'package:somedialog/somedialog.dart';

FlatButton(
              child: Text("Show Dialog"),
              onPressed: () {
                SomeDialog(
                  context: context,
                  path: "assets/report.json",
                  mode: SomeMode.Lottie,
                  content:
                      "Please before tracking, double-check the code you entered!",
                  title: "Are you sure ?",
                  submit: () {
                  }
                );
              },
            )

SomeMode

SomeMode
Lottie
Network
Asset

Parameters

parameter types defaultValues
buttonConfig buttonConfig ButtonConfig()
path string
title string
content string
dialogHeight double 310
imageHeight double 150
imageWidth double 150
submit Function
mode SomeMode SomeMode.Lottie