Buscar pacotes, repositórios e categorias de apps

Repositório GitHubMagnuti/Weekly-Date-Picker

Selecionador de Data Semanal

Um seletor de dias da semana onde é possível rolar entre as semanas.

Capa do projeto Selecionador de Data Semanal
Estrelas
17
Forks
19
Último push (UTC)
3 de mai. de 2024
Status do projeto
Ativo

README original

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

Weekly Date Picker

A weekday picker where you can scroll between weeks.

Custom styling

You can remove the week text
Add custom colors
You can also make only the weekdays selectable

Installing

To use this package, add weekly_date_picker as a dependency in your pubspec.yaml file.

Usage

WeeklyDatePicker(
  selectedDay: _selectedDay, // DateTime
  changeDay: (value) => setState(() {
    _selectedDay = value;
  }),
),

How to use custom styling

You can use custom colors and labels by the optional parameters:

  • weekdayText Specifies the weekday text: default is 'Week'
  • weekdays Specifies the weekday strings ['Mon', 'Tue'...]
  • backgroundColor Background color
  • selectedDigitBackgroundColor Color of the selected day circle
  • selectedDigitBorderColor Color of the border of the selected day circle
  • selectedDigitColor Color of the selected digit text
  • digitsColor Color of the unselected digits text
  • weekdayTextColor Is the color of the weekdays 'Mon', 'Tue'...
  • enableWeeknumberText Set to false to hide the weeknumber textfield to the left of the slider
  • weeknumberColor Color of the weekday container
  • weeknumberTextColor Color of the weekday text
  • daysInWeek Specifies the number of weekdays to render, default is 7, so Monday to Sunday
Magnuti GitHub avatar
Autor no GitHub

Magnuti ↗

Fullstack developer interested in backend, mobile and AI. Monorepo or nothing.

Oslo
LinguagensDartSwiftKotlinObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 4 itens

  • flutter{"sdk":"flutter"}
  • week_of_year^2.0.0
  • clockDesenvolvimento^1.1.0
  • 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 ↗