42 Commits

Author SHA1 Message Date
Marcel Čampa
242581418f
Dedup CupertinoAlertDialog and CupertinoActionSheet source code (#78202) 2021-04-07 13:09:07 -07:00
Justin McCandless
24e195d918
Mac context menu (#73882)
A very minimal right-click menu for Mac desktop.
2021-01-20 13:18:25 -08:00
Justin McCandless
d9f3d2e846
Cupertino text selection menu customization (#73578)
* Making a custom iOS-style text selection menu is now much easier.
  * Exposes a new widget for the toolbar, a new widget for the buttons, and a new widget for the layout.
2021-01-13 11:14:14 -08:00
Pierre-Louis
47e3e75b07
Improve Cupertino docs (#72927)
* Add 'See also' to cupertino library

* Add snippets to CupertinoApp

* Add CupertinoPageScaffold samples

* Revert "Add CupertinoPageScaffold samples"

This reverts commit 01b0adf351f0320af7835551102d62e3416f0eab.

* Revert "Revert "Add CupertinoPageScaffold samples""

This reverts commit 0af506237a16f7fec5f3744a9bd015a511a15f72.

* Add CupertinoNavigationBar sample

* Tweak CupertinoPageScaffold sample

* Don't use Material in cupertino samples

* Fix colors

* Fix capitalization

Co-authored-by: Shi-Hao Hong <shihaohong@google.com>

* Apply suggestions from code review

Co-authored-by: Shi-Hao Hong <shihaohong@google.com>

* Add comment about backgroundColor

Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2021-01-04 23:09:02 +01:00
Daniel Edrisian
4d4d017aa5
Re-land CupertinoFormSection, CupertinoFormRow, and CupertinoTextFormFieldRow (#71522) 2020-12-03 21:38:10 -08:00
Jonah Williams
720f366ff5
Revert "Added CupertinoFormSection, CupertinoSplitFormRow, and CupertinoTextFormField (#70676)" (#71490)
This reverts commit e244724794b0cb700b5d3c0096c9a1463e06c8e9.
2020-12-01 10:11:41 -08:00
Daniel Edrisian
e244724794
Added CupertinoFormSection, CupertinoSplitFormRow, and CupertinoTextFormField (#70676) 2020-12-01 09:58:07 -08:00
Daniel Edrisian
e818c47059
Added CupertinoSearchTextField (#68074) 2020-10-27 06:37:03 -07:00
Alexandre Ardhuin
19078b1a02
migrate cupertino to nullsafety (#66493) 2020-09-24 14:07:03 -07:00
Tim Sneath
ba78539bdb
Expand Cupertino library comment (#64979) 2020-08-31 19:13:04 -07:00
Michael Goderbauer
a1800730c3
Fix 'unresolved doc reference' for material A-D (#62473) 2020-07-29 10:21:04 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter (#59186)
* add language version 2.8 in packages/flutter

* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
Ian Hickson
449f4a6673
License update (#45373)
* Update project.pbxproj files to say Flutter rather than Chromium

Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.

* Update the copyright notice checker to require a standard notice on all files

* Update copyrights on Dart files. (This was a mechanical commit.)

* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.

Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).

* Clean up the copyrights in non-Dart files. (Manual edits.)

Also, make sure templates don't have copyrights.

* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Justin McCandless
9734754aad
CupertinoContextMenu (iOS 13) (#43918)
Adds the CupertinoContextMenu widget for iOS 13 support.
2019-11-05 07:55:54 -08:00
LongCatIsLooong
9ea0ecc33b
CupertinoSlidingSegmentedControl (#42775) 2019-10-30 10:42:48 -07:00
LongCatIsLooong
4ac2daf337
CupertinoTheme & CupertinoTextTheme dark mode updates (#41859) 2019-10-28 15:50:08 -07:00
LongCatIsLooong
a671b28369
CupertinoDynamicColor and friends (#37719) 2019-08-21 20:07:42 -07:00
Michael Goderbauer
5493fe469e
Moar Videos (#30452) 2019-04-03 12:49:13 -07:00
xster
b8a035a3d4
Adds CupertinoTheme (#23759) 2018-12-18 20:36:35 -08:00
xster
b63ced55b4
Add a CupertinoTextField (#23194) 2018-10-22 19:20:17 -07:00
Viet Do
0b93911653
Add Cupertino Countdown Timer Picker (#20966)
Add a countdown timer picker as part of the Cupertino date picker.
2018-08-27 12:37:55 -07:00
Viet Do
8e70d54e81
add cupertino localizations (#20756)
add cupertino localizations abstract class and the default cupertino localizations in US English.
2018-08-23 10:10:57 -07:00
Natalie Sampsell
96326d4743
CupertinoActionSheet (#19232)
Adding CupertinoActionSheet, showCupertinoModalPopup
2018-08-09 21:55:41 -07:00
xster
06f63aaa5a
Create a CupertinoApp (#18469) 2018-07-04 16:55:22 -07:00
Natalie Sampsell
c35e484c95
Adding segmented control (#18373) 2018-06-20 15:44:03 -07:00
xster
feadfd2e40
Cupertino pull to refresh part 1: sliver and a simple indicator widget builder (#15324)
* Gallery scaffolding

* Started RenderSliver

* demo and initial hookup

* Cleaned up demo more and scaffolding basic sliver->widget communication structure.

* works

* states and default indicator building works

* start adding docs

* added an alignment setting optimized the sliver relayout mechanism

* tested a default bottom aligned sized indicator

* Added a bunch of tests

* more fixes and more tests

* Finished the tests

* Add docs

* Add more doc diffing wrt material pull to refresh

* Mention nav bar synergy

* add more asserts

* review 1

* Fix mockito 2 / dart 2 / strong typed tests

* review

* Remove the vscode config

* review
2018-03-21 17:27:58 -07:00
xster
667f478506
CupertinoPicker part 4 - create CupertinoPicker and add gallery demo (#14091)
* controller, position and test

* Make controllers swappable

* WIP

* Create a ListWheelScrollPhysics

* Created picker and gallery demo and testing now

* Works. Ready to document and test.

* Document and add tests. Make the scroll controller more generic.

* minor cleanup

* review

* review

* fix tests

* stop using TransformLayers for now
2018-01-25 16:31:43 -08:00
xster
4fcdb50d9b
Add Cupertino scrollbar (#13290)
* Create CupertinoScrollbar

* handle main axis margin

* Adaptive material scrollbar and tests

* Small tweaks

* reapply changes on head

* Docs

* start

* Refactored ScrollbarPainter to be more immutable

* fix tests

* fix bug: one animationcontroller pointed to multiple painters

* some docs tweak

* remove unused import

* review

* review

* add dispose
2017-12-21 16:44:42 -08:00
xster
9ce3ba314e Add Cupertino icon fonts helper and dependency for default template (#12559)
* add CupertinoIcons

* Use new font name convention

* review
2017-10-16 18:59:28 -07:00
xster
f9e8da6d32 Create a CupertinoTab to support parallel navigation trees in iOS (#12130)
* Refactor CupertinoScaffold

* Rename rootTabPageBuilder to tabBuilder

* fix tab transparency padding

* add a CupertinoTab

* Add default background color

* Add a bunch of examples

* A bunch of tests

* Refactor CupertinoScaffold

* Rename rootTabPageBuilder to tabBuilder

* fix tab transparency padding

* Add default background color

* review notes

* fix test

* review

* Rename CupertinoTab to CupertinoTabView

* remove final ; in sample code for analyzer
2017-09-20 21:01:03 -07:00
xster
6d47092772 Split CupertinoScaffold into CupertinoTabScaffold and CupertinoPageScaffold (#12106)
* Refactor CupertinoScaffold

* Rename rootTabPageBuilder to tabBuilder

* fix tab transparency padding

* Add default background color

* review notes

* fix test
2017-09-20 17:58:53 -07:00
xster
aa096b50af iOS text selection (#11224)
Extract common text selection overlay logic from Material to Widget and create a Cupertino version of the overlays
2017-07-21 11:33:17 -04:00
xster
36c3a962c5 Create a CupertinoPageRoute (#10686)
* started copying stuff into cupertino page route

* extracted from material page route. Ready for testing

* works with button and gesture

* tests and docs

* review notes

* review notes
2017-06-14 23:33:14 -07:00
xster
e38f92df9a Create a CupertinoScaffold (#10543)
* works using pageview
it’s a bit heavy and scrolls
no documentation or test yet

* docs and tests

* more docs tweak

* revert drive by page view changes

* swap out the indexed stack for a custom thing

* layout everything on the cheap
tests pass

* add more tests

* move back to stack and add docs

* review notes

* build all the tabs once built
2017-06-12 22:48:51 -07:00
xster
2aaa7f88b3 CupertinoNavigationBar part 2 - create a bare bone CupertinoNavigationBar (#10423)
Create a CupertinoNavigationBar without automatic adding of the lead button
2017-06-01 17:17:21 -07:00
xster
69c2542458 CupertinoTabBar (#10264)
Move some Cupertino colors to a common file. 

Create a CupertinoTabBar widget to mimic iOS looks
2017-05-24 12:23:15 -07:00
xster
c7f98efb63 Extract cupertino page transition out of material (#9059)
* Moved stuff around yet

* Fix depedencies

* Add more dartdoc comments to packages

* Remove Cupertino dependency on material

* Removed mountain_view package and added page transition test

* Fix analyze warnings

* Remove commented code

* Some review notes

* Move the cupertino back gesture controller’s lifecycle management back to its parent

* Reviews

* Add background color

* final controller

* Review notes
2017-04-03 12:17:39 -07:00
xster
a76c352d57 Add Cupertino to gallery and add CupertinoButton and many yak friends (#8411)
* Add cupertino to gallery and add CupertinoButto

* Use single quotes

* Add disabled state

* Some review notes

* Make button animation more responsive and tweak timing

* Renamed things Cupertino

* Button with background, move cupertino demos, move material demos

* Move 2 level list too

* Refactor various demo route names

* Some review notes

* More reviews and add test

* Linter as

* Move private constant up
2017-03-01 16:06:48 -08:00
Adam Barth
684259794b Add CupertinoAlertDialog (#7395)
Fixes #7375
2017-01-09 21:35:43 -08:00
Adam Barth
0c42c9b1b2 Add CupertinoActivityIndicator (#7380)
Fixes #7372
2017-01-06 15:58:26 -08:00
Adam Barth
3176921d16 Add CupertinoSlider (#7336)
This widget matches the style of the iOS slider widget. We don't yet
have the proper visual design for the disabled state.
2017-01-04 16:08:19 -08:00
Adam Barth
732a83d408 Add CupertinoSwitch (#7326)
This patch contains a first draft of an iOS-style switch. We'll likely need to
tweak the constants upon closer study, but the basics are here.
2017-01-03 22:11:35 -08:00