1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00
Commit Graph

1550 Commits

Author SHA1 Message Date
Pierre-Louis
7b0fdb2ddb [Gallery] Add transformations demo (#291)
* Copy over transformations demo with changes

Colors, size and buttons were changed

* Remove <Widget>[]

* Formatting

* Expose gallery theme colors

* Run grinder commands
2020-01-29 16:50:45 +01:00
Per Classon
fcac28d65d [Gallery] Exclude semantics for logo and change to hint for products on Shrine (#292)
* Exclude logo from semantics

* Use hint instead of onTapHint as it otherwise won't work with VoiceOver
2020-01-29 16:46:34 +01:00
Pierre-Louis
bf3979220e [Gallery] Add padding to demo appBar (#289)
* Add padding to demo appBar

* Update demo.dart

* Add padding to leading icon as well

* Update demo.dart
2020-01-28 17:24:33 +01:00
Pierre-Louis
9eebbce1fb Add options to tabs demo (#290) 2020-01-28 17:05:16 +01:00
Pierre-Louis
5fe2c22309 [Gallery] Preserve demo state, simplify demo width calculations on desktop (#287)
* Maintain state on mobile

* Refactor section width code

* Fix state resetting on desktop

* Remove unused import

* Remove unecessary GestureDetectorBehavior
2020-01-28 17:05:05 +01:00
rami-a
4e0b2e7b21 Prevent shrine login screen from allowing overscroll (#274) 2020-01-28 10:00:37 -05:00
Hemant Kumar
cd7e52ab88 [Gallery] Added platform dependent separator for cross platform compatibility (#285)
Added platform dependent separator for cross platform compatibility.
2020-01-28 15:39:52 +01:00
Per Classon
b891c7cc77 [Gallery] Close Shrine cart on back button press for android (#288)
* Close Shrine cart on back button press for android
2020-01-28 15:10:40 +01:00
Pierre-Louis
81a8e98c1a [Gallery] Use io.flutter as organization instead of placeholder (#286)
* Use io.flutter as org instead of placeholder

* Revert "Use io.flutter as org instead of placeholder"

This reverts commit 67f7999dd7.

* Use io.flutter.demo as organization
2020-01-28 12:15:00 +01:00
Per Classon
e7f39b1c37 [Gallery] Add Travis CI check that l10n command has been run for the gallery (#263)
* Add command to grind to verify that l10n command has ben run
2020-01-28 11:48:06 +01:00
rami-a
4d6d5660bc Update capitalization of cupertino demo titles to be consistent with Material (#268) 2020-01-27 15:55:50 -05:00
Per Classon
067ced7c5f Add new Flare assets now that After Effects lets us export Rive assets (#264) 2020-01-27 16:39:46 +01:00
Pierre-Louis
82aad81c34 Don't remove SettingsListItem content from tree (#259)
* Don't remove SettingsListItem content from tree

* Remove unused variable
2020-01-27 14:29:28 +01:00
rami-a
b04fbf7292 [Gallery] Implement Material Data table demo (#262) 2020-01-24 16:08:37 -05:00
Pierre-Louis
882f33c1a8 [Gallery] Add version number to About dialog (#260)
* Add version number to About dialog

* Update about.dart

* Address feedback
2020-01-24 19:10:43 +01:00
Pierre-Louis
9575601afb Don't overflow cards text (#261) 2020-01-24 19:01:12 +01:00
Pierre-Louis
9f0a977d80 [Gallery] Hide snackbar before showing one (#258)
* Hide snackbar before showing one

* Update code_segments.dart

* Update grind error message with command
2020-01-24 17:38:52 +01:00
rami-a
becb9db7da Remove hardcoded strings that were a workaround for raw string problem (#257) 2020-01-24 10:57:45 -05:00
Pierre-Louis
bfd4e7418d [Gallery] Use new package flutter_localized_locales (#256)
* Update to latest flutter_localized_countries

* Update pubspec.lock

* Use flutter_localized_locales package
2020-01-24 16:43:27 +01:00
Per Classon
264d697c61 [Gallery] Add animation for settings backdrop (#252)
* Lift up AnimationController to parnet widget AnimatedBackdrop so it can be shared with child widgets. Make the boolean 'isSettingsOpen' a ValueNotifier so we can listen to changes for it in SettingsPage.

* When closing settings, also shrink expanded setting.

* Animate the settings page to slide in from above.

* Add in stagger animation for setting items.

* Make sure that state is updated so the test passes

* Use setState for when closing expanded setting

* Move build method last, move animations initialization to initState and fix spelling mistake
2020-01-24 12:55:45 +01:00
Per Classon
be484af4d2 Enable copy to clipboard for web, as it's added to Flutter master channel (#253) 2020-01-24 12:50:01 +01:00
Pierre-Louis
7f783273c3 [Gallery] Crane focus (#254)
* Add debugLabel to HighlightFocus

* Remove decrated property

* Add focus to DestinationCards

* Add index property to Forms

* Move BackLayer stuff to its own file

* Add focus

* Revert deprecated change

* Address feedback
2020-01-24 12:13:58 +01:00
rami-a
a89c9a4747 [Gallery] Implement cupertino pickers demo (#251) 2020-01-23 18:32:00 +00:00
rami-a
2da59e988a [Gallery] Implement material picker demo (#249) 2020-01-23 17:36:19 +00:00
Jose Alba
3885418fff Updated translation on tooltip for code sample (#250)
* Focus is working properly for demo pages

* Updated translation

* Updated flutter/flutter

* Removed ios changes

* Empty commit
2020-01-22 16:12:18 -05:00
rami-a
56c1eb92d5 Remove extra semantic node from shrine app bar (#248) 2020-01-22 18:34:05 +00:00
Jose Alba
c2f639c519 Added Material Banner demo and Material Card demo (#238)
* Fix apk release issue

* Removed TODO

* Removed TODO

* Added chip demo

* Added card demo

* Added Material Card demo and Material Banner Demo

* Updated license for demos

* Merge with master

* Fixing issues

* Banner demo issues fixed

* Fixed all issues

* Updated code samples

* Added images to card demo

* Fixed issues

* Updated code segment

* Fixed issues

* Removed unused variable

* Formatted

* Updated code segments
2020-01-21 17:45:10 -05:00
Andrew Brogdon
9630222230 Adds iOS builds for add-to-app to Travis setup (#244) 2020-01-21 14:03:53 -08:00
rami-a
7e28d43aa0 Bump version to 2.2 (#247) 2020-01-21 20:57:21 +00:00
rami-a
606ae8af68 [Gallery] Latest translations (#246) 2020-01-21 20:28:46 +00:00
Brett Morgan
b7ec38af9c provider_counter: update android and ios, add macos and web (#235) 2020-01-17 06:09:59 +10:00
Brett Morgan
738861ffe3 provider_shopper: update android and ios, add macos and web (#236) 2020-01-17 06:09:33 +10:00
Brett Morgan
13125bc435 Scripting flutter pub upgrade (#242) 2020-01-16 10:06:33 +10:00
Yong Joseph Bakos
c595b0a498 index: Remove stale link (#243) 2020-01-15 10:02:06 -08:00
Brett Morgan
1d4848ab2d update android and ios, add macos and web (#237) 2020-01-15 04:32:14 +10:00
Brett Morgan
676698aa83 flutter pub upgrade (#241) 2020-01-15 04:31:25 +10:00
Brett Morgan
234a7f3d0d Deleting web/gallery because the newer gallery/gallery includes web support. (#240) 2020-01-15 04:30:55 +10:00
Brett Morgan
9d6f6d3641 Delete chrome-os-best-practices (#228) 2020-01-15 04:30:14 +10:00
Brett Morgan
ec51b0e711 Move com.example to dev.flutter (#227) 2020-01-14 09:47:10 +10:00
Andrew Brogdon
09cb1e2687 Sharding travis jobs (#239) 2020-01-13 14:46:04 -08:00
Brett Morgan
45c8798a0f jsonexample: update web dir (#231) 2020-01-14 06:57:03 +10:00
Brett Morgan
897e664fa5 Update place_tracker android and ios dirs (#232) 2020-01-14 06:56:13 +10:00
Brett Morgan
70638aea7c platform_design: update android and ios, add web (#233) 2020-01-14 06:51:42 +10:00
Brett Morgan
7b90d1cefc desktop photo search migrate to dev.flutter (#229) 2020-01-14 06:42:47 +10:00
Brett Morgan
a13af2b5b1 flutter_maps_firestore: regenerate ios dir (#230) 2020-01-14 06:41:44 +10:00
Brett Morgan
e03c672b82 Update platform_view_swift (#234) 2020-01-14 06:14:13 +10:00
Brett Morgan
0b58ae92f2 Add web and macos, update android and ios (#223) 2020-01-13 10:35:14 +10:00
Pierre-Louis
9c00f3fd13 Remove uneeded source (#226) 2020-01-10 16:49:45 -05:00
rami-a
575845d4fe Cupertino textfield demo (#225) 2020-01-10 15:42:33 -05:00
rami-a
555ec07de3 [Gallery] Refactor list of demos to use common variables (#224) 2020-01-10 14:52:00 -05:00