Buscar pacotes, repositórios e categorias de apps

Repositório GitHubsudar-life/flutter_slide_drawer

flutter_slide_drawer

Irá ajudá-lo a criar facilmente um drawer com efeito de deslize.

Capa do projeto flutter_slide_drawer
Estrelas
3
Forks
4
Último push (UTC)
21 de jun. de 2023
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

flutter_slide_drawer

A Flutter package, It would help you make has slide effect drawer easy.

Getting Started

To start using this package, add flutter_slide_drawer dependency to your pubspec.yaml

dependencies:
    flutter_slide_drawer: '<latest_release>'

Documentation

SliderDrawerWidget
    SliderDrawerWidget(
        key: drawerKey,
        option: SliderDrawerOption(),
        drawer: CustomDrawer(),
        body: Scaffold(
          appBar: AppBar(),
          body: Container(),
        )
    )
Parameters Value Required Docs
key GlobalKey<SliderDrawerWidgetState> YES Required to open drawer.
drawer Widget YES Custom Widget to use drawer
body Widget YES Body Widget
option SliderDrawerOption No You can set several options.

SliderDrawerOption
    SliderDrawerOption(
      backgroundImage: Image.asset("assets/sample_background.jpg"),
      backgroundColor: Colors.black,
      sliderEffectType: SliderEffectType.Rounded,
      upDownScaleAmount: 50,
      radiusAmount: 50,
      direction: SliderDrawerDirection.LTR,
    )
Parameters Value Required Docs
backgroundImage Image Widget No be covered Background Image in Drawer
backgroundColor Color No background Color in Drawer (default Color is blue)
sliderEffectType SliderEffectType No Slide push Effect Type ( Rounded , Rectangle)
upDownScaleAmount double No If you use SliderEffectType.Runded then you can use this parameters. It make margin Vertical in Scaffold
radiusAmount double No If you use SliderEffectType.Runded then you can use this parameters. It make as amount as radius in Scaffold
direction SliderDrawerDirection No Drawer direction option, default is SliderDrawerDirection.LTR

Screens

Using Background Image And Rounded Type

Example App Demo2

Default FlutterSliderWidget

Example app Demo

Sungduck Kim GitHub avatar
Autor no GitHub

Sungduck Kim ↗

개발을 즐기는 사람이 되고 싶은 개발자.

애쓰지마JejuSite oficial ↗
LinguagensDartSwiftKotlinObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens

  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗