Install homebrew https://brew.sh/
brew cask install homebrew/cask-versions/adoptopenjdk8
brew cask install android-sdk
| "explorer.fileNesting.enabled": true, | |
| "explorer.fileNesting.expand": false, | |
| "explorer.fileNesting.patterns": { | |
| "pubspec.yaml": ".flutter-plugins, .packages, .dart_tool, .flutter-plugins-dependencies, .metadata, .packages, pubspec.lock, build.yaml, analysis_options.yaml, all_lint_rules.yaml", | |
| ".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*", | |
| "readme.*": "authors, backers.md, changelog*, citation*, code_of_conduct.md, codeowners, contributing.md, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors.md", | |
| "*.dart": "$(capture).g.dart, $(capture).freezed.dart", | |
| }, |
| import 'universal_platform_web.dart' | |
| if (dart.library.io) 'universal_platform_vm.dart'; | |
| /// A universal platform checker. | |
| /// | |
| /// Can be used to check active physical Flutter platform on all platforms. | |
| /// | |
| /// To check what host platform the app is running on use: | |
| /// | |
| /// * PlatformIs.android |
| /// Finds unused dependencies from pubspec.yaml | |
| /// | |
| /// Achieves this by parsing pubspec.yaml and recursively | |
| /// searching the lib folder for an import statement that | |
| /// contains the name of each package. Prints out the results. | |
| const fs = require("fs"); | |
| const YAML = require("yaml"); | |
| const { execSync } = require("child_process"); | |
| /// Read pubspec.yaml |
| import 'package:flutter/material.dart'; | |
| import 'custom_slider_thumb_circle.dart'; | |
| class SliderWidget extends StatefulWidget { | |
| final double sliderHeight; | |
| final int min; | |
| final int max; | |
| final fullWidth; | |
| SliderWidget( |
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build_web: |
brew cask install homebrew/cask-versions/adoptopenjdk8
brew cask install android-sdk
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Background color transition', | |
| debugShowCheckedModeBanner: false, |
| import 'package:flutter/material.dart'; | |
| import 'package:rect_getter/rect_getter.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Fab overlay transition', |
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| void main() => runApp(TwitterFab()); | |
| class TwitterFab extends StatefulWidget { | |
| @override | |
| _TwitterFabState createState() => _TwitterFabState(); | |
| } |