Skip to content

Commit

Permalink
dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-7018 committed Feb 20, 2023
1 parent ee8e4ff commit 92cb57a
Show file tree
Hide file tree
Showing 16 changed files with 142 additions and 128 deletions.
17 changes: 8 additions & 9 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# This is a generated file; do not edit or check into version control.
path_provider_linux=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_linux-2.1.7\\
path_provider_windows=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_windows-2.1.3\\
shared_preferences=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences-2.0.15\\
shared_preferences_android=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_android-2.0.14\\
shared_preferences_ios=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_ios-2.1.1\\
shared_preferences_linux=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_linux-2.1.1\\
shared_preferences_macos=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_macos-2.0.4\\
shared_preferences_web=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_web-2.0.4\\
shared_preferences_windows=E:\\old\\Local Disk f\\Users\\smarthelp\\Downloads\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_windows-2.1.1\\
path_provider_linux=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_linux-2.1.8\\
path_provider_windows=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_windows-2.1.3\\
shared_preferences=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences-2.0.17\\
shared_preferences_android=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_android-2.0.15\\
shared_preferences_foundation=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_foundation-2.1.3\\
shared_preferences_linux=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_linux-2.1.3\\
shared_preferences_web=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_web-2.0.4\\
shared_preferences_windows=C:\\Users\\mohamed samir\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_windows-2.1.3\\
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"shared_preferences_ios","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_ios-2.1.1\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"shared_preferences_android","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_android-2.0.14\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_macos-2.0.4\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.7\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-2.1.1\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.1.3\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-2.1.1\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"E:\\\\old\\\\Local Disk f\\\\Users\\\\smarthelp\\\\Downloads\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-2.0.4\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_ios","shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_ios","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2022-12-18 14:39:25.302944","version":"3.3.9"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.1.3\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"shared_preferences_android","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.0.15\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.1.3\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.1.8\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.1.3\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.1.3\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.1.3\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"C:\\\\Users\\\\mohamed samir\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.0.4\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2023-02-20 04:24:19.201667","version":"3.7.0"}
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ The package is solving a problem with package bottom_personalized_dot_bar as it
- forget changes that take places in the displayed and hidden items in eah run, so the user setup will be forgetten once the app is closed.
- not cross platform.

The Btn Nav bat is very beautiful and many people likes it so much. For these reasons I build this package for public to help them to add this beautful btn nav bar to their projets. I wish this will help you.
The Btn Nav bat is very beautiful and many people likes it so much. For these reasons I build this package for public to help them to add this beautful btn nav bar to their projets. I wish this will help you.

## 1.0.1+2
Dart format to pass static analysis
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
![Pub](https://img.shields.io/pub/v/draggable_customized_btn_navy_bar) <a href="https://github.com/Solido/awesome-flutter">
<img alt="Awesome Flutter" src="https://img.shields.io/badge/Awesome-Flutter-blue.svg?longCache=true&style=flat-square" />
</a>
![Widget Tests](https://github.com/pedromassango/bottom_navy_bar/workflows/Widget%20Tests/badge.svg?branch=master)

A bottom navigation bar that you can customize with the options you need, without any limits. You can also customize the appearance of the navigation bar.

Expand Down
37 changes: 9 additions & 28 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ import 'package:flutter/material.dart';

import 'dart:math';

/*
I/flutter (26783): item-5 - Alarma
I/flutter (26783): item-6 - Mensaje
I/flutter (26783): item-7 - Alerta
I/flutter (26783): item-8 - Seguridad
I/flutter (26783): item-9 - Ayuda
I/flutter (26783): item-10 - Config.
*/
void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
Expand Down Expand Up @@ -51,7 +43,7 @@ class MyHomePageState extends State<MyHomePage> {
transitionBuilder: (Widget child, Animation<double> animation) {
final revealAnimation = Tween(begin: 0.0, end: 1.0).animate(
CurvedAnimation(parent: animation, curve: Curves.ease));
return AnimatedBuilder(
return AnimatedBuilder(
builder: (BuildContext context, Widget? _) {
return _buildAnimation(
context, _itemSelected, child, revealAnimation.value);
Expand All @@ -62,23 +54,11 @@ class MyHomePageState extends State<MyHomePage> {
child: _buildPage(_itemSelected),
),
DraggableCustomizedBtnNavyBar(

width: (MediaQuery.of(context).size.width > 600) ? 500.0 : null,
keyItemSelected: _itemSelected,
doneText: 'Done',
settingTitleText: 'Your Menu',
settingSubTitleText: 'Drag and drop',

// boxShadow: const [
// BoxShadow(
// color: Colors.black12, blurRadius: 10.0, spreadRadius: 1.0)
// ],
// iconSettingColor: const Color(0xFFFFD201),
// buttonDoneColor: const Color(0xFFFFD500),
// settingSubTitleColor: const Color(0xFFFECE02),
// maximumNumberOfDisplayItems : 4,
// minimumNumberOfDisplayedItems: 2,

hiddenItems: <DraggableCustomizedDotBarItem>[
DraggableCustomizedDotBarItem('item-4',
icon: Icons.cloud,
Expand Down Expand Up @@ -264,11 +244,11 @@ class MyHomePageState extends State<MyHomePage> {
}

class FlutterPage extends StatelessWidget {
final Color ? backgroundColor;
final String ? urlAsset;
final String ? title;
final Color? backgroundColor;
final String? urlAsset;
final String? title;

const FlutterPage({Key ? key, this.backgroundColor, this.urlAsset, this.title})
const FlutterPage({Key? key, this.backgroundColor, this.urlAsset, this.title})
: super(key: key);

@override
Expand Down Expand Up @@ -296,10 +276,11 @@ class FlutterPage extends StatelessWidget {
}

class PageReveal extends StatelessWidget {
final double ? revealPercent;
final Widget ? child;
final double? revealPercent;
final Widget? child;

const PageReveal({Key ? key, this.revealPercent, this.child}) : super(key: key);
const PageReveal({Key? key, this.revealPercent, this.child})
: super(key: key);

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import FlutterMacOS
import Foundation

import shared_preferences_macos
import shared_preferences_foundation

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
Expand Down
Loading

0 comments on commit 92cb57a

Please sign in to comment.